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.Builderaddress(Consumer<Address.Builder> address) Sets the value of the Address property for this object.Sets the value of the Address property for this object.ThePlaceIdof the place result.APlaceTypeis a category that the result place must belong to.APlaceTypeis 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
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 result.- Parameters:
placeId- ThePlaceIdof the place result.- 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:
-
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.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 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.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:
-