Interface GeocodeParsedQueryAddressComponents.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GeocodeParsedQueryAddressComponents.Builder,,- GeocodeParsedQueryAddressComponents> - SdkBuilder<GeocodeParsedQueryAddressComponents.Builder,,- GeocodeParsedQueryAddressComponents> - SdkPojo
- Enclosing class:
- GeocodeParsedQueryAddressComponents
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
countryThe 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.
 
- 
countryThe 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.
 
- 
countryGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
regionThe 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.
 
- 
regionThe 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.
 
- 
regionGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subRegionThe 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.
 
- 
subRegionThe 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.
 
- 
subRegionGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
localityThe 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.
 
- 
localityThe 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.
 
- 
localityGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
districtThe 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.
 
- 
districtThe 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.
 
- 
districtGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subDistrictGeocodeParsedQueryAddressComponents.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.
 
- 
subDistrictA 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.
 
- 
subDistrictGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
postalCodeAn 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.
 
- 
postalCodeAn 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.
 
- 
postalCodeGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
blockName 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.
 
- 
blockName 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.
 
- 
blockName 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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subBlockName 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.
 
- 
subBlockName 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.
 
- 
subBlockGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
streetThe 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.
 
- 
streetThe 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.
 
- 
streetGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
addressNumberGeocodeParsedQueryAddressComponents.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.
 
- 
addressNumberThe 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.
 
- 
addressNumberGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
buildingThe 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.
 
- 
buildingThe 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.
 
- 
buildingGeocodeParsedQueryAddressComponents.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 on- ParsedQueryComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
secondaryAddressComponentsGeocodeParsedQueryAddressComponents.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.
 
- 
secondaryAddressComponentsGeocodeParsedQueryAddressComponents.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.
 
- 
secondaryAddressComponentsGeocodeParsedQueryAddressComponents.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 on- ParsedQuerySecondaryAddressComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-