Interface GeocodeParsedQueryAddressComponents.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GeocodeParsedQueryAddressComponents.Builder,,GeocodeParsedQueryAddressComponents> SdkBuilder<GeocodeParsedQueryAddressComponents.Builder,,GeocodeParsedQueryAddressComponents> SdkPojo
- Enclosing class:
GeocodeParsedQueryAddressComponents
-
Method Summary
Modifier and TypeMethodDescriptionaddressNumber(Collection<ParsedQueryComponent> addressNumber) The number that identifies an address within a street.addressNumber(Consumer<ParsedQueryComponent.Builder>... addressNumber) The number that identifies an address within a street.addressNumber(ParsedQueryComponent... addressNumber) The number that identifies an address within a street.block(Collection<ParsedQueryComponent> block) Name of the block.block(Consumer<ParsedQueryComponent.Builder>... block) Name of the block.block(ParsedQueryComponent... block) Name of the block.building(Collection<ParsedQueryComponent> building) The name of the building at the address.building(Consumer<ParsedQueryComponent.Builder>... building) The name of the building at the address.building(ParsedQueryComponent... building) The name of the building at the address.country(Collection<ParsedQueryComponent> country) The alpha-2 or alpha-3 character code for the country that the results will be present in.country(Consumer<ParsedQueryComponent.Builder>... country) The alpha-2 or alpha-3 character code for the country that the results will be present in.country(ParsedQueryComponent... country) The alpha-2 or alpha-3 character code for the country that the results will be present in.district(Collection<ParsedQueryComponent> district) The district or division of a city the results should be present in.district(Consumer<ParsedQueryComponent.Builder>... district) The district or division of a city the results should be present in.district(ParsedQueryComponent... district) The district or division of a city the results should be present in.locality(Collection<ParsedQueryComponent> locality) The city or locality of the address.locality(Consumer<ParsedQueryComponent.Builder>... locality) The city or locality of the address.locality(ParsedQueryComponent... locality) The city or locality of the address.postalCode(Collection<ParsedQueryComponent> 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.postalCode(Consumer<ParsedQueryComponent.Builder>... 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.postalCode(ParsedQueryComponent... 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.region(Collection<ParsedQueryComponent> region) The region or state results should be present in.region(Consumer<ParsedQueryComponent.Builder>... region) The region or state results should be present in.region(ParsedQueryComponent... region) The region or state results should be present in.secondaryAddressComponents(Collection<ParsedQuerySecondaryAddressComponent> secondaryAddressComponents) Parsed secondary address components from the provided query text.secondaryAddressComponents(Consumer<ParsedQuerySecondaryAddressComponent.Builder>... secondaryAddressComponents) Parsed secondary address components from the provided query text.secondaryAddressComponents(ParsedQuerySecondaryAddressComponent... secondaryAddressComponents) Parsed secondary address components from the provided query text.street(Collection<ParsedQueryComponent> street) The name of the street results should be present in.street(Consumer<ParsedQueryComponent.Builder>... street) The name of the street results should be present in.street(ParsedQueryComponent... street) The name of the street results should be present in.subBlock(Collection<ParsedQueryComponent> subBlock) Name of sub-block.subBlock(Consumer<ParsedQueryComponent.Builder>... subBlock) Name of sub-block.subBlock(ParsedQueryComponent... subBlock) Name of sub-block.subDistrict(Collection<ParsedQueryComponent> subDistrict) A subdivision of a district.subDistrict(Consumer<ParsedQueryComponent.Builder>... subDistrict) A subdivision of a district.subDistrict(ParsedQueryComponent... subDistrict) A subdivision of a district.subRegion(Collection<ParsedQueryComponent> subRegion) The sub-region or county for which results should be present in.subRegion(Consumer<ParsedQueryComponent.Builder>... subRegion) The sub-region or county for which results should be present in.subRegion(ParsedQueryComponent... subRegion) The sub-region or county for which results should be present in.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
-
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.
-
country
GeocodeParsedQueryAddressComponents.Builder country(Consumer<ParsedQueryComponent.Builder>... country) The alpha-2 or alpha-3 character code for the country that the results will be present in.
This is a convenience method that creates an instance of theParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocountry(List<ParsedQueryComponent>).- Parameters:
country- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The region or state results should be present in.
Example:
North Rhine-Westphalia.- Parameters:
region- The region or state results should be present in.Example:
North Rhine-Westphalia.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The region or state results should be present in.
Example:
North Rhine-Westphalia.- Parameters:
region- The region or state results should be present in.Example:
North Rhine-Westphalia.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
GeocodeParsedQueryAddressComponents.Builder region(Consumer<ParsedQueryComponent.Builder>... region) The region or state results should be present in.
Example:
This is a convenience method that creates an instance of theNorth Rhine-Westphalia.ParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregion(List<ParsedQueryComponent>).- Parameters:
region- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
subRegion
GeocodeParsedQueryAddressComponents.Builder subRegion(Consumer<ParsedQueryComponent.Builder>... subRegion) The sub-region or county for which results should be present in.
This is a convenience method that creates an instance of theParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubRegion(List<ParsedQueryComponent>).- Parameters:
subRegion- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
locality
The city or locality of the address.
Example:
Vancouver.- Parameters:
locality- The city or locality of the address.Example:
Vancouver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locality
The city or locality of the address.
Example:
Vancouver.- Parameters:
locality- The city or locality of the address.Example:
Vancouver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locality
GeocodeParsedQueryAddressComponents.Builder locality(Consumer<ParsedQueryComponent.Builder>... locality) The city or locality of the address.
Example:
This is a convenience method that creates an instance of theVancouver.ParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocality(List<ParsedQueryComponent>).- Parameters:
locality- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
district
GeocodeParsedQueryAddressComponents.Builder district(Consumer<ParsedQueryComponent.Builder>... district) The district or division of a city the results should be present in.
This is a convenience method that creates an instance of theParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todistrict(List<ParsedQueryComponent>).- Parameters:
district- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subDistrict
GeocodeParsedQueryAddressComponents.Builder subDistrict(Collection<ParsedQueryComponent> 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.
-
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.
-
subDistrict
GeocodeParsedQueryAddressComponents.Builder subDistrict(Consumer<ParsedQueryComponent.Builder>... subDistrict) A subdivision of a district.
Example:
This is a convenience method that creates an instance of theMinden-Lübbecke.ParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubDistrict(List<ParsedQueryComponent>).- Parameters:
subDistrict- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
postalCode
GeocodeParsedQueryAddressComponents.Builder postalCode(Consumer<ParsedQueryComponent.Builder>... 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.
This is a convenience method that creates an instance of theParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostalCode(List<ParsedQueryComponent>).- Parameters:
postalCode- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
block
Name of the block.
Example:
This is a convenience method that creates an instance of theSunny Mansion 203 block: 2 ChomeParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblock(List<ParsedQueryComponent>).- Parameters:
block- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
subBlock
GeocodeParsedQueryAddressComponents.Builder subBlock(Consumer<ParsedQueryComponent.Builder>... subBlock) Name of sub-block.
Example:
This is a convenience method that creates an instance of theSunny Mansion 203 sub-block: 4ParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubBlock(List<ParsedQueryComponent>).- Parameters:
subBlock- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
street
The name of the street results should be present in.
- Parameters:
street- The name of the street results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
street
The name of the street results should be present in.
- Parameters:
street- The name of the street results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
street
GeocodeParsedQueryAddressComponents.Builder street(Consumer<ParsedQueryComponent.Builder>... street) The name of the street results should be present in.
This is a convenience method that creates an instance of theParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreet(List<ParsedQueryComponent>).- Parameters:
street- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addressNumber
GeocodeParsedQueryAddressComponents.Builder addressNumber(Collection<ParsedQueryComponent> addressNumber) The number that identifies an address within a street.
- Parameters:
addressNumber- The number that identifies an address within a street.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressNumber
The number that identifies an address within a street.
- Parameters:
addressNumber- The number that identifies an address within a street.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressNumber
GeocodeParsedQueryAddressComponents.Builder addressNumber(Consumer<ParsedQueryComponent.Builder>... addressNumber) The number that identifies an address within a street.
This is a convenience method that creates an instance of theParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddressNumber(List<ParsedQueryComponent>).- Parameters:
addressNumber- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
building
GeocodeParsedQueryAddressComponents.Builder building(Consumer<ParsedQueryComponent.Builder>... building) The name of the building at the address.
This is a convenience method that creates an instance of theParsedQueryComponent.Builderavoiding the need to create one manually viaParsedQueryComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuilding(List<ParsedQueryComponent>).- Parameters:
building- a consumer that will call methods onParsedQueryComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryAddressComponents
GeocodeParsedQueryAddressComponents.Builder secondaryAddressComponents(Collection<ParsedQuerySecondaryAddressComponent> secondaryAddressComponents) Parsed secondary address components from the provided query text.
- Parameters:
secondaryAddressComponents- Parsed secondary address components from the provided query text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryAddressComponents
GeocodeParsedQueryAddressComponents.Builder secondaryAddressComponents(ParsedQuerySecondaryAddressComponent... secondaryAddressComponents) Parsed secondary address components from the provided query text.
- Parameters:
secondaryAddressComponents- Parsed secondary address components from the provided query text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryAddressComponents
GeocodeParsedQueryAddressComponents.Builder secondaryAddressComponents(Consumer<ParsedQuerySecondaryAddressComponent.Builder>... secondaryAddressComponents) Parsed secondary address components from the provided query text.
This is a convenience method that creates an instance of theParsedQuerySecondaryAddressComponent.Builderavoiding the need to create one manually viaParsedQuerySecondaryAddressComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondaryAddressComponents(List<ParsedQuerySecondaryAddressComponent>).- Parameters:
secondaryAddressComponents- a consumer that will call methods onParsedQuerySecondaryAddressComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-