Interface GetPlaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPlaceResponse.Builder,
,GetPlaceResponse> GeoPlacesResponse.Builder
,SdkBuilder<GetPlaceResponse.Builder,
,GetPlaceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPlaceResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessPoints
(Collection<AccessPoint> accessPoints) Position of the access point in(lng,lat)
.accessPoints
(Consumer<AccessPoint.Builder>... accessPoints) Position of the access point in(lng,lat)
.accessPoints
(AccessPoint... accessPoints) Position of the access point in(lng,lat)
.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 GetPlaceResponse.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.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.default GetPlaceResponse.Builder
contacts
(Consumer<Contacts.Builder> contacts) List of potential contact methods for the result/place.List of potential contact methods for the result/place.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.default GetPlaceResponse.Builder
mainAddress
(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.openingHours
(Collection<OpeningHours> openingHours) List of opening hours objects.openingHours
(Consumer<OpeningHours.Builder>... openingHours) List of opening hours objects.openingHours
(OpeningHours... openingHours) List of opening hours objects.default GetPlaceResponse.Builder
phonemes
(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.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.pricingBucket
(String pricingBucket) The pricing bucket for which the query is charged at.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 GetPlaceResponse.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.services.geoplaces.model.GeoPlacesResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
pricingBucket
The pricing bucket for which the query is charged at.
For more information on pricing, please visit Amazon Location Service Pricing.
- Parameters:
pricingBucket
- The pricing bucket for which the query is charged at.For more information on pricing, please visit Amazon Location Service Pricing.
- 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
GetPlaceResponse.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.
-
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 of four 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 of four 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 of four 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 of four 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:
-
businessChains
The Business Chains associated with the place.
- Parameters:
businessChains
- The Business Chains associated with the place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessChains
The Business Chains associated with the place.
- Parameters:
businessChains
- The Business Chains associated with the place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessChains
The Business Chains associated with the place.
This is a convenience method that creates an instance of theBusinessChain.Builder
avoiding the need to create one manually viaBusinessChain.builder()
.When the
Consumer
completes,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:
-
contacts
List of potential contact methods for the result/place.
- Parameters:
contacts
- List of potential contact methods for the result/place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
List of potential contact methods for the result/place.
This is a convenience method that creates an instance of theContacts.Builder
avoiding the need to create one manually viaContacts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontacts(Contacts)
.- Parameters:
contacts
- a consumer that will call methods onContacts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openingHours
List of opening hours objects.
- Parameters:
openingHours
- List of opening hours objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openingHours
List of opening hours objects.
- Parameters:
openingHours
- List of opening hours objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openingHours
List of opening hours objects.
This is a convenience method that creates an instance of theOpeningHours.Builder
avoiding the need to create one manually viaOpeningHours.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopeningHours(List<OpeningHours>)
.- Parameters:
openingHours
- a consumer that will call methods onOpeningHours.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
(lng,lat)
.- Parameters:
accessPoints
- Position of the access point in(lng,lat)
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPoints
Position of the access point in
(lng,lat)
.- Parameters:
accessPoints
- Position of the access point in(lng,lat)
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPoints
Position of the access point in
This is a convenience method that creates an instance of the(lng,lat)
.AccessPoint.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:
-
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.
- 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.- 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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessRestrictions
GetPlaceResponse.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.
This is a convenience method that creates an instance of theAccessRestriction.Builder
avoiding the need to create one manually viaAccessRestriction.builder()
.When the
Consumer
completes,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.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.
-
phonemes
How the various components of the result's address are pronounced in various languages.
- Parameters:
phonemes
- How the various components of the result's address are pronounced in various languages.- 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.
This is a convenience method that creates an instance of thePhonemeDetails.Builder
avoiding the need to create one manually viaPhonemeDetails.builder()
.When the
Consumer
completes,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:
-
mainAddress
The 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.
-
mainAddress
The main address corresponding to a place of type Secondary Address.
This is a convenience method that creates an instance of theRelatedPlace.Builder
avoiding the need to create one manually viaRelatedPlace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomainAddress(RelatedPlace)
.- Parameters:
mainAddress
- a consumer that will call methods onRelatedPlace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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.
-
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.
- 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.
-
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.
This is a convenience method that creates an instance of theRelatedPlace.Builder
avoiding the need to create one manually viaRelatedPlace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecondaryAddresses(List<RelatedPlace>)
.- Parameters:
secondaryAddresses
- a consumer that will call methods onRelatedPlace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-