Interface GeocodeResultItem.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GeocodeResultItem.Builder,,- GeocodeResultItem> - SdkBuilder<GeocodeResultItem.Builder,,- GeocodeResultItem> - SdkPojo
- Enclosing class:
- GeocodeResultItem
- 
Method SummaryModifier and TypeMethodDescriptionaccessPoints(Collection<AccessPoint> accessPoints) Position of the access point represented by longitude and latitude.accessPoints(Consumer<AccessPoint.Builder>... accessPoints) Position of the access point represented by longitude and latitude.accessPoints(AccessPoint... accessPoints) Position of the access point represented by longitude and latitude.default GeocodeResultItem.Builderaddress(Consumer<Address.Builder> address) The place's address.The place's address.addressNumberCorrected(Boolean addressNumberCorrected) Boolean indicating if the address provided has been corrected.categories(Collection<Category> categories) Categories of results that results must belong to.categories(Consumer<Category.Builder>... categories) Categories of results that results must belong to.categories(Category... categories) Categories of results that results must belong to.The distance in meters from the QueryPosition.foodTypes(Collection<FoodType> foodTypes) List of food types offered by this result.foodTypes(Consumer<FoodType.Builder>... foodTypes) List of food types offered by this result.List of food types offered by this result.intersections(Collection<Intersection> intersections) All Intersections that are near the provided address.intersections(Consumer<Intersection.Builder>... intersections) All Intersections that are near the provided address.intersections(Intersection... intersections) All Intersections that are near the provided address.default GeocodeResultItem.BuildermainAddress(Consumer<RelatedPlace.Builder> mainAddress) The main address corresponding to a place of type Secondary Address.mainAddress(RelatedPlace mainAddress) The main address corresponding to a place of type Secondary Address.The bounding box enclosing the geometric shape (area or line) that an individual result covers.mapView(Collection<Double> mapView) The bounding box enclosing the geometric shape (area or line) that an individual result covers.default GeocodeResultItem.BuildermatchScores(Consumer<MatchScoreDetails.Builder> matchScores) Indicates how well the entire input matches the returned.matchScores(MatchScoreDetails matchScores) Indicates how well the entire input matches the returned.default GeocodeResultItem.BuilderparsedQuery(Consumer<GeocodeParsedQuery.Builder> parsedQuery) Free-form text query.parsedQuery(GeocodeParsedQuery parsedQuery) Free-form text query.ThePlaceIdof the place result.APlaceTypeis a category that the result place must belong to.APlaceTypeis a category that the result place must belong to.politicalView(String politicalView) The alpha-2 or alpha-3 character code for the political view of a country.The position in longitude and latitude.position(Collection<Double> position) The position in longitude and latitude.postalCodeDetails(Collection<PostalCodeDetails> postalCodeDetails) Contains details about the postal code of the place/result.postalCodeDetails(Consumer<PostalCodeDetails.Builder>... postalCodeDetails) Contains details about the postal code of the place/result.postalCodeDetails(PostalCodeDetails... postalCodeDetails) Contains details about the postal code of the place/result.secondaryAddresses(Collection<RelatedPlace> secondaryAddresses) All secondary addresses that are associated with a main address.secondaryAddresses(Consumer<RelatedPlace.Builder>... secondaryAddresses) All secondary addresses that are associated with a main address.secondaryAddresses(RelatedPlace... secondaryAddresses) All secondary addresses that are associated with a main address.default GeocodeResultItem.BuildertimeZone(Consumer<TimeZone.Builder> timeZone) The time zone in which the place is located.The time zone in which the place is located.The localized display name of this result item based on request parameterlanguage.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- 
placeIdThe PlaceIdof the place result.- Parameters:
- placeId- The- PlaceIdof the place result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
placeTypeA PlaceTypeis a category that the result place must belong to.- Parameters:
- placeType- A- PlaceTypeis a category that the result place must belong to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
placeTypeA PlaceTypeis a category that the result place must belong to.- Parameters:
- placeType- A- PlaceTypeis a category that the result place must belong to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
titleThe localized display name of this result item based on request parameter language.- Parameters:
- title- The localized display name of this result item based on request parameter- language.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
addressThe place's address. - Parameters:
- address- The place's address.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
addressThe place's address. This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddress(Address).- Parameters:
- address- a consumer that will call methods on- Address.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
addressNumberCorrectedBoolean indicating if the address provided has been corrected. - Parameters:
- addressNumberCorrected- Boolean indicating if the address provided has been corrected.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
postalCodeDetailsContains details about the postal code of the place/result. - Parameters:
- postalCodeDetails- Contains details about the postal code of the place/result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
postalCodeDetailsContains details about the postal code of the place/result. - Parameters:
- postalCodeDetails- Contains details about the postal code of the place/result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
postalCodeDetailsGeocodeResultItem.Builder postalCodeDetails(Consumer<PostalCodeDetails.Builder>... postalCodeDetails) Contains details about the postal code of the place/result. This is a convenience method that creates an instance of thePostalCodeDetails.Builderavoiding the need to create one manually viaPostalCodeDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostalCodeDetails(List<PostalCodeDetails>).- Parameters:
- postalCodeDetails- a consumer that will call methods on- PostalCodeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
positionThe position in longitude and latitude. - Parameters:
- position- The position in longitude and latitude.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
positionThe position in longitude and latitude. - Parameters:
- position- The position in longitude and latitude.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
distanceThe distance in meters from the QueryPosition. - Parameters:
- distance- The distance in meters from the QueryPosition.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mapViewThe bounding box enclosing the geometric shape (area or line) that an individual result covers. The bounding box formed is defined as a set 4 coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]- Parameters:
- mapView- The bounding box enclosing the geometric shape (area or line) that an individual result covers.- The bounding box formed is defined as a set 4 coordinates: - [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mapViewThe bounding box enclosing the geometric shape (area or line) that an individual result covers. The bounding box formed is defined as a set 4 coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]- Parameters:
- mapView- The bounding box enclosing the geometric shape (area or line) that an individual result covers.- The bounding box formed is defined as a set 4 coordinates: - [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
categoriesCategories of results that results must belong to. - Parameters:
- categories- Categories of results that results must belong to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
categoriesCategories of results that results must belong to. - Parameters:
- categories- Categories of results that results must belong to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
categoriesCategories of results that results must belong to. This is a convenience method that creates an instance of theCategory.Builderavoiding the need to create one manually viaCategory.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocategories(List<Category>).- Parameters:
- categories- a consumer that will call methods on- Category.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
foodTypesList of food types offered by this result. - Parameters:
- foodTypes- List of food types offered by this result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
foodTypesList of food types offered by this result. - Parameters:
- foodTypes- List of food types offered by this result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
foodTypesList of food types offered by this result. This is a convenience method that creates an instance of theFoodType.Builderavoiding the need to create one manually viaFoodType.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofoodTypes(List<FoodType>).- Parameters:
- foodTypes- a consumer that will call methods on- FoodType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accessPointsPosition of the access point represented by longitude and latitude. - Parameters:
- accessPoints- Position of the access point represented by longitude and latitude.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
accessPointsPosition of the access point represented by longitude and latitude. - Parameters:
- accessPoints- Position of the access point represented by longitude and latitude.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
accessPointsPosition of the access point represented by longitude and latitude. This is a convenience method that creates an instance of theAccessPoint.Builderavoiding the need to create one manually viaAccessPoint.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessPoints(List<AccessPoint>).- Parameters:
- accessPoints- a consumer that will call methods on- AccessPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timeZoneThe time zone in which the place is located. - Parameters:
- timeZone- The time zone in which the place is located.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timeZoneThe time zone in which the place is located. This is a convenience method that creates an instance of theTimeZone.Builderavoiding the need to create one manually viaTimeZone.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeZone(TimeZone).- Parameters:
- timeZone- a consumer that will call methods on- TimeZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
politicalViewThe alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country. - Parameters:
- politicalView- The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
matchScoresIndicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched. - Parameters:
- matchScores- Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
matchScoresIndicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched. This is a convenience method that creates an instance of theMatchScoreDetails.Builderavoiding the need to create one manually viaMatchScoreDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchScores(MatchScoreDetails).- Parameters:
- matchScores- a consumer that will call methods on- MatchScoreDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
parsedQueryFree-form text query. - Parameters:
- parsedQuery- Free-form text query.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
parsedQueryFree-form text query. This is a convenience method that creates an instance of theGeocodeParsedQuery.Builderavoiding the need to create one manually viaGeocodeParsedQuery.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparsedQuery(GeocodeParsedQuery).- Parameters:
- parsedQuery- a consumer that will call methods on- GeocodeParsedQuery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
intersectionsAll Intersections that are near the provided address. - Parameters:
- intersections- All Intersections that are near the provided address.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
intersectionsAll Intersections that are near the provided address. - Parameters:
- intersections- All Intersections that are near the provided address.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
intersectionsAll Intersections that are near the provided address. This is a convenience method that creates an instance of theIntersection.Builderavoiding the need to create one manually viaIntersection.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointersections(List<Intersection>).- Parameters:
- intersections- a consumer that will call methods on- Intersection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
mainAddressThe main address corresponding to a place of type Secondary Address. - Parameters:
- mainAddress- The main address corresponding to a place of type Secondary Address.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mainAddressThe main address corresponding to a place of type Secondary Address. This is a convenience method that creates an instance of theRelatedPlace.Builderavoiding the need to create one manually viaRelatedPlace.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomainAddress(RelatedPlace).- Parameters:
- mainAddress- a consumer that will call methods on- RelatedPlace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
secondaryAddressesAll secondary addresses that are associated with a main address. A secondary address is one that includes secondary designators, such as a Suite or Unit Number, Building, or Floor information. - Parameters:
- secondaryAddresses- All secondary addresses that are associated with a main address. A secondary address is one that includes secondary designators, such as a Suite or Unit Number, Building, or Floor information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
secondaryAddressesAll secondary addresses that are associated with a main address. A secondary address is one that includes secondary designators, such as a Suite or Unit Number, Building, or Floor information. - Parameters:
- secondaryAddresses- All secondary addresses that are associated with a main address. A secondary address is one that includes secondary designators, such as a Suite or Unit Number, Building, or Floor information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
secondaryAddressesAll secondary addresses that are associated with a main address. A secondary address is one that includes secondary designators, such as a Suite or Unit Number, Building, or Floor information. This is a convenience method that creates an instance of theRelatedPlace.Builderavoiding the need to create one manually viaRelatedPlace.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondaryAddresses(List<RelatedPlace>).- Parameters:
- secondaryAddresses- a consumer that will call methods on- RelatedPlace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-