Interface RelatedPlace.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RelatedPlace.Builder,
,RelatedPlace> SdkBuilder<RelatedPlace.Builder,
,RelatedPlace> SdkPojo
- Enclosing class:
RelatedPlace
-
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 RelatedPlace.Builder
address
(Consumer<Address.Builder> address) Sets the value of the Address property for this object.Sets the value of the Address property for this object.ThePlaceId
of the place result.APlaceType
is a category that the result place must belong to.APlaceType
is a category that the result place must belong to.The position, in longitude and latitude.position
(Collection<Double> position) The position, in longitude and latitude.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 result.- Parameters:
placeId
- ThePlaceId
of the place result.- 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
Sets the value of the Address property for this object.- Parameters:
address
- The new value for the Address property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
Sets the value of the Address property for this object. 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:
-
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.
-
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:
-