Interface ReverseGeocodeResultItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReverseGeocodeResultItem.Builder,
,ReverseGeocodeResultItem> SdkBuilder<ReverseGeocodeResultItem.Builder,
,ReverseGeocodeResultItem> SdkPojo
- Enclosing class:
ReverseGeocodeResultItem
-
Method Summary
Modifier 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 ReverseGeocodeResultItem.Builder
address
(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.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.ThePlaceId
of the place you wish to receive the information for.APlaceType
is a category that the result place must belong to.APlaceType
is 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.default ReverseGeocodeResultItem.Builder
timeZone
(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.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
-
placeId
The
PlaceId
of the place you wish to receive the information for.- Parameters:
placeId
- ThePlaceId
of the place you wish to receive the information for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placeType
A
PlaceType
is a category that the result place must belong to.- Parameters:
placeType
- APlaceType
is 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:
-
placeType
A
PlaceType
is a category that the result place must belong to.- Parameters:
placeType
- APlaceType
is 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:
-
title
The 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 parameterlanguage
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The place's address.
- Parameters:
address
- The place's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The place's address.
This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddress(Address)
.- Parameters:
address
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addressNumberCorrected
Boolean 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.
-
postalCodeDetails
Contains 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.
-
postalCodeDetails
Contains 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.
-
postalCodeDetails
ReverseGeocodeResultItem.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.Builder
avoiding the need to create one manually viaPostalCodeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topostalCodeDetails(List<PostalCodeDetails>)
.- Parameters:
postalCodeDetails
- a consumer that will call methods onPostalCodeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
position
The 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.
-
position
The 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.
-
distance
The 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.
-
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}]
- 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.
-
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}]
- 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.
-
categories
Categories 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.
-
categories
Categories 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.
-
categories
Categories of results that results must belong to.
This is a convenience method that creates an instance of theCategory.Builder
avoiding the need to create one manually viaCategory.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocategories(List<Category>)
.- Parameters:
categories
- a consumer that will call methods onCategory.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
foodTypes
List 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.
-
foodTypes
List 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.
-
foodTypes
List of food types offered by this result.
This is a convenience method that creates an instance of theFoodType.Builder
avoiding the need to create one manually viaFoodType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofoodTypes(List<FoodType>)
.- Parameters:
foodTypes
- a consumer that will call methods onFoodType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessPoints
Position 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.
-
accessPoints
Position 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.
-
accessPoints
Position of the access point represented by longitude and latitude.
This is a convenience method that creates an instance of theAccessPoint.Builder
avoiding the need to create one manually viaAccessPoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessPoints(List<AccessPoint>)
.- Parameters:
accessPoints
- a consumer that will call methods onAccessPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeZone
The 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.
-
timeZone
The time zone in which the place is located.
This is a convenience method that creates an instance of theTimeZone.Builder
avoiding the need to create one manually viaTimeZone.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeZone(TimeZone)
.- Parameters:
timeZone
- a consumer that will call methods onTimeZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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.
-
intersections
All 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.
-
intersections
All 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.
-
intersections
All Intersections that are near the provided address.
This is a convenience method that creates an instance of theIntersection.Builder
avoiding the need to create one manually viaIntersection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointersections(List<Intersection>)
.- Parameters:
intersections
- a consumer that will call methods onIntersection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-