Interface AddressComponentMatchScores.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddressComponentMatchScores.Builder,
,AddressComponentMatchScores> SdkBuilder<AddressComponentMatchScores.Builder,
,AddressComponentMatchScores> SdkPojo
- Enclosing class:
AddressComponentMatchScores
-
Method Summary
Modifier and TypeMethodDescriptionaddressNumber
(Double addressNumber) The house number or address results should have.Name of the block.The name of the building at the address.The alpha-2 or alpha-3 character code for the country that the results will be present in.The district or division of a city the results should be present in.intersection
(Double... intersection) Name of the streets in the intersection.intersection
(Collection<Double> intersection) Name of the streets in the intersection.The city or locality results should be present in.postalCode
(Double postalCode) An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.The region or state results should be to be present in.secondaryAddressComponents
(Collection<SecondaryAddressComponentMatchScore> secondaryAddressComponents) Match scores for the secondary address components in the result.secondaryAddressComponents
(Consumer<SecondaryAddressComponentMatchScore.Builder>... secondaryAddressComponents) Match scores for the secondary address components in the result.secondaryAddressComponents
(SecondaryAddressComponentMatchScore... secondaryAddressComponents) Match scores for the secondary address components in the result.Name of sub-block.subDistrict
(Double subDistrict) A subdivision of a district.The sub-region or county for which results should be present in.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
country
The alpha-2 or alpha-3 character code for the country that the results will be present in.
- Parameters:
country
- The alpha-2 or alpha-3 character code for the country that the results will be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The region or state results should be to be present in.
Example:
North Rhine-Westphalia
.- Parameters:
region
- The region or state results should be to be present in.Example:
North Rhine-Westphalia
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subRegion
The sub-region or county for which results should be present in.
- Parameters:
subRegion
- The sub-region or county for which results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locality
The city or locality results should be present in.
Example:
Vancouver
.- Parameters:
locality
- The city or locality results should be present in.Example:
Vancouver
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
district
The district or division of a city the results should be present in.
- Parameters:
district
- The district or division of a city the results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDistrict
A subdivision of a district.
Example:
Minden-Lübbecke
- Parameters:
subDistrict
- A subdivision of a district.Example:
Minden-Lübbecke
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
- Parameters:
postalCode
- An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
block
Name of the block.
Example:
Sunny Mansion 203 block: 2 Chome
- Parameters:
block
- Name of the block.Example:
Sunny Mansion 203 block: 2 Chome
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subBlock
Name of sub-block.
Example:
Sunny Mansion 203 sub-block: 4
- Parameters:
subBlock
- Name of sub-block.Example:
Sunny Mansion 203 sub-block: 4
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intersection
Name of the streets in the intersection.
Example:
["Friedrichstraße","Unter den Linden"]
- Parameters:
intersection
- Name of the streets in the intersection.Example:
["Friedrichstraße","Unter den Linden"]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intersection
Name of the streets in the intersection.
Example:
["Friedrichstraße","Unter den Linden"]
- Parameters:
intersection
- Name of the streets in the intersection.Example:
["Friedrichstraße","Unter den Linden"]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressNumber
The house number or address results should have.
- Parameters:
addressNumber
- The house number or address results should have.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
building
The name of the building at the address.
- Parameters:
building
- The name of the building at the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryAddressComponents
AddressComponentMatchScores.Builder secondaryAddressComponents(Collection<SecondaryAddressComponentMatchScore> secondaryAddressComponents) Match scores for the secondary address components in the result.
- Parameters:
secondaryAddressComponents
- Match scores for the secondary address components in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryAddressComponents
AddressComponentMatchScores.Builder secondaryAddressComponents(SecondaryAddressComponentMatchScore... secondaryAddressComponents) Match scores for the secondary address components in the result.
- Parameters:
secondaryAddressComponents
- Match scores for the secondary address components in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryAddressComponents
AddressComponentMatchScores.Builder secondaryAddressComponents(Consumer<SecondaryAddressComponentMatchScore.Builder>... secondaryAddressComponents) Match scores for the secondary address components in the result.
This is a convenience method that creates an instance of theSecondaryAddressComponentMatchScore.Builder
avoiding the need to create one manually viaSecondaryAddressComponentMatchScore.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecondaryAddressComponents(List<SecondaryAddressComponentMatchScore>)
.- Parameters:
secondaryAddressComponents
- a consumer that will call methods onSecondaryAddressComponentMatchScore.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-