Interface Intersection.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Intersection.Builder,,- Intersection> - SdkBuilder<Intersection.Builder,,- Intersection> - SdkPojo
- Enclosing class:
- Intersection
- 
Method SummaryModifier 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.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.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.ThePlaceIdof 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
placeIdThe PlaceIdof the place result.- Parameters:
- placeId- The- PlaceIdof the place result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
titleThe 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 parameter- language.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
addressSets 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.
 
- 
addressSets 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 on- Address.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
positionThe 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.
 
- 
positionThe 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.
 
- 
distanceThe 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.
 
- 
routeDistanceThe 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.
 
- 
mapViewThe 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.
 
- 
mapViewThe 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.
 
- 
accessPointsPosition 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.
 
- 
accessPointsPosition 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.
 
- 
accessPointsPosition 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 on- AccessPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-