Interface Intersection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Intersection.Builder,
,Intersection> SdkBuilder<Intersection.Builder,
,Intersection> SdkPojo
- Enclosing class:
Intersection
-
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 Intersection.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.The distance in meters from the QueryPosition.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 result.The position, in longitude and latitude.position
(Collection<Double> position) The position, in longitude and latitude.routeDistance
(Long routeDistance) The distance from the routing position of the nearby address to the street result.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.
-
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.
-
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.
-
routeDistance
The distance from the routing position of the nearby address to the street result.
- Parameters:
routeDistance
- The distance from the routing position of the nearby address to the street result.- 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.
-
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:
-