Interface SuggestPlaceResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SuggestPlaceResult.Builder,,SuggestPlaceResult> SdkBuilder<SuggestPlaceResult.Builder,,SuggestPlaceResult> SdkPojo
- Enclosing class:
SuggestPlaceResult
-
Method Summary
Modifier and TypeMethodDescriptionaccessPoints(Collection<AccessPoint> accessPoints) Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].accessPoints(Consumer<AccessPoint.Builder>... accessPoints) Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].accessPoints(AccessPoint... accessPoints) Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].accessRestrictions(Collection<AccessRestriction> accessRestrictions) Indicates known access restrictions on a vehicle access point.accessRestrictions(Consumer<AccessRestriction.Builder>... accessRestrictions) Indicates known access restrictions on a vehicle access point.accessRestrictions(AccessRestriction... accessRestrictions) Indicates known access restrictions on a vehicle access point.default SuggestPlaceResult.Builderaddress(Consumer<Address.Builder> address) The place's address.The place's address.businessChains(Collection<BusinessChain> businessChains) The Business Chains associated with the place.businessChains(Consumer<BusinessChain.Builder>... businessChains) The Business Chains associated with the place.businessChains(BusinessChain... businessChains) The Business Chains associated with the place.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.crossReferences(Collection<CrossReference> crossReferences) The list of supplier references available for this place.crossReferences(Consumer<CrossReference.Builder>... crossReferences) The list of supplier references available for this place.crossReferences(CrossReference... crossReferences) The list of supplier references available for this place.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.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 SuggestPlaceResult.Builderphonemes(Consumer<PhonemeDetails.Builder> phonemes) How the various components of the result's address are pronounced in various languages.phonemes(PhonemeDetails phonemes) How the various components of the result's address are pronounced in various languages.placeAttributes(Collection<PlaceAttribute> placeAttributes) A list of place attributes for the result, such as whether the business offers drive-through service.placeAttributes(PlaceAttribute... placeAttributes) A list of place attributes for the result, such as whether the business offers drive-through service.placeAttributesWithStrings(String... placeAttributes) A list of place attributes for the result, such as whether the business offers drive-through service.placeAttributesWithStrings(Collection<String> placeAttributes) A list of place attributes for the result, such as whether the business offers drive-through service.ThePlaceIdof the place you wish to receive the information for.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 World Geodetic System (WGS 84) format: [longitude, latitude].position(Collection<Double> position) The position in World Geodetic System (WGS 84) format: [longitude, latitude].default SuggestPlaceResult.BuildertimeZone(Consumer<TimeZone.Builder> timeZone) The time zone in which the place is located.The time zone in which the place is located.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
-
placeId
The
PlaceIdof the place you wish to receive the information for.- Parameters:
placeId- ThePlaceIdof 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
PlaceTypeis a category that the result place must belong to.- Parameters:
placeType- APlaceTypeis 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
PlaceTypeis a category that the result place must belong to.- Parameters:
placeType- APlaceTypeis 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:
-
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.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 onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
position
The position in World Geodetic System (WGS 84) format: [longitude, latitude].
- Parameters:
position- The position in World Geodetic System (WGS 84) format: [longitude, latitude].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
The position in World Geodetic System (WGS 84) format: [longitude, latitude].
- Parameters:
position- The position in World Geodetic System (WGS 84) format: [longitude, 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.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 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. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
foodTypes- List of food types offered by this result. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
foodTypes
List of food types offered by this result. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
foodTypes- List of food types offered by this result. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
foodTypes
List of food types offered by this result. Not available in
This is a convenience method that creates an instance of theap-southeast-1andap-southeast-5regions for GrabMaps customers.FoodType.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 onFoodType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
businessChains
The Business Chains associated with the place. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
businessChains- The Business Chains associated with the place. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessChains
The Business Chains associated with the place. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
businessChains- The Business Chains associated with the place. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessChains
The Business Chains associated with the place. Not available in
This is a convenience method that creates an instance of theap-southeast-1andap-southeast-5regions for GrabMaps customers.BusinessChain.Builderavoiding the need to create one manually viaBusinessChain.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobusinessChains(List<BusinessChain>).- Parameters:
businessChains- a consumer that will call methods onBusinessChain.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessPoints
Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude]. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
accessPoints- Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude]. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPoints
Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude]. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
accessPoints- Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude]. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPoints
Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude]. Not available in
This is a convenience method that creates an instance of theap-southeast-1andap-southeast-5regions for GrabMaps customers.AccessPoint.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 onAccessPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessRestrictions
Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
accessRestrictions- Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessRestrictions
Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
accessRestrictions- Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessRestrictions
SuggestPlaceResult.Builder accessRestrictions(Consumer<AccessRestriction.Builder>... accessRestrictions) Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction. Not available in
This is a convenience method that creates an instance of theap-southeast-1andap-southeast-5regions for GrabMaps customers.AccessRestriction.Builderavoiding the need to create one manually viaAccessRestriction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessRestrictions(List<AccessRestriction>).- Parameters:
accessRestrictions- a consumer that will call methods onAccessRestriction.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.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 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. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- 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. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phonemes
How the various components of the result's address are pronounced in various languages. Not available in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
phonemes- How the various components of the result's address are pronounced in various languages. Not available inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phonemes
How the various components of the result's address are pronounced in various languages. Not available in
This is a convenience method that creates an instance of theap-southeast-1andap-southeast-5regions for GrabMaps customers.PhonemeDetails.Builderavoiding the need to create one manually viaPhonemeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophonemes(PhonemeDetails).- Parameters:
phonemes- a consumer that will call methods onPhonemeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
placeAttributesWithStrings
A list of place attributes for the result, such as whether the business offers drive-through service.
- Parameters:
placeAttributes- A list of place attributes for the result, such as whether the business offers drive-through service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placeAttributesWithStrings
A list of place attributes for the result, such as whether the business offers drive-through service.
- Parameters:
placeAttributes- A list of place attributes for the result, such as whether the business offers drive-through service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placeAttributes
A list of place attributes for the result, such as whether the business offers drive-through service.
- Parameters:
placeAttributes- A list of place attributes for the result, such as whether the business offers drive-through service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placeAttributes
A list of place attributes for the result, such as whether the business offers drive-through service.
- Parameters:
placeAttributes- A list of place attributes for the result, such as whether the business offers drive-through service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossReferences
The list of supplier references available for this place. Requires the
CrossReferencesadditional feature to be enabled.- Parameters:
crossReferences- The list of supplier references available for this place. Requires theCrossReferencesadditional feature to be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossReferences
The list of supplier references available for this place. Requires the
CrossReferencesadditional feature to be enabled.- Parameters:
crossReferences- The list of supplier references available for this place. Requires theCrossReferencesadditional feature to be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossReferences
The list of supplier references available for this place. Requires the
This is a convenience method that creates an instance of theCrossReferencesadditional feature to be enabled.CrossReference.Builderavoiding the need to create one manually viaCrossReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocrossReferences(List<CrossReference>).- Parameters:
crossReferences- a consumer that will call methods onCrossReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-