Interface SnapToRoadsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SnapToRoadsResponse.Builder,SnapToRoadsResponse>,GeoRoutesResponse.Builder,SdkBuilder<SnapToRoadsResponse.Builder,SnapToRoadsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SnapToRoadsResponse
public static interface SnapToRoadsResponse.Builder extends GeoRoutesResponse.Builder, SdkPojo, CopyableBuilder<SnapToRoadsResponse.Builder,SnapToRoadsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SnapToRoadsResponse.Buildernotices(Collection<RoadSnapNotice> notices)Notices are additional information returned that indicate issues that occurred during route calculation.SnapToRoadsResponse.Buildernotices(Consumer<RoadSnapNotice.Builder>... notices)Notices are additional information returned that indicate issues that occurred during route calculation.SnapToRoadsResponse.Buildernotices(RoadSnapNotice... notices)Notices are additional information returned that indicate issues that occurred during route calculation.SnapToRoadsResponse.BuilderpricingBucket(String pricingBucket)The pricing bucket for which the query is charged at.default SnapToRoadsResponse.BuildersnappedGeometry(Consumer<RoadSnapSnappedGeometry.Builder> snappedGeometry)The interpolated geometry for the snapped route onto the road network.SnapToRoadsResponse.BuildersnappedGeometry(RoadSnapSnappedGeometry snappedGeometry)The interpolated geometry for the snapped route onto the road network.SnapToRoadsResponse.BuildersnappedGeometryFormat(String snappedGeometryFormat)Specifies the format of the geometry returned for each leg of the route.SnapToRoadsResponse.BuildersnappedGeometryFormat(GeometryFormat snappedGeometryFormat)Specifies the format of the geometry returned for each leg of the route.SnapToRoadsResponse.BuildersnappedTracePoints(Collection<RoadSnapSnappedTracePoint> snappedTracePoints)The trace points snapped onto the road network.SnapToRoadsResponse.BuildersnappedTracePoints(Consumer<RoadSnapSnappedTracePoint.Builder>... snappedTracePoints)The trace points snapped onto the road network.SnapToRoadsResponse.BuildersnappedTracePoints(RoadSnapSnappedTracePoint... snappedTracePoints)The trace points snapped onto the road network.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.georoutes.model.GeoRoutesResponse.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 Detail
-
notices
SnapToRoadsResponse.Builder notices(Collection<RoadSnapNotice> notices)
Notices are additional information returned that indicate issues that occurred during route calculation.
- Parameters:
notices- Notices are additional information returned that indicate issues that occurred during route calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notices
SnapToRoadsResponse.Builder notices(RoadSnapNotice... notices)
Notices are additional information returned that indicate issues that occurred during route calculation.
- Parameters:
notices- Notices are additional information returned that indicate issues that occurred during route calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notices
SnapToRoadsResponse.Builder notices(Consumer<RoadSnapNotice.Builder>... notices)
Notices are additional information returned that indicate issues that occurred during route calculation.
This is a convenience method that creates an instance of theRoadSnapNotice.Builderavoiding the need to create one manually viaRoadSnapNotice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#notices(List.) - Parameters:
notices- a consumer that will call methods onRoadSnapNotice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#notices(java.util.Collection)
-
pricingBucket
SnapToRoadsResponse.Builder pricingBucket(String pricingBucket)
The pricing bucket for which the query is charged at.
- Parameters:
pricingBucket- The pricing bucket for which the query is charged at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedGeometry
SnapToRoadsResponse.Builder snappedGeometry(RoadSnapSnappedGeometry snappedGeometry)
The interpolated geometry for the snapped route onto the road network.
- Parameters:
snappedGeometry- The interpolated geometry for the snapped route onto the road network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedGeometry
default SnapToRoadsResponse.Builder snappedGeometry(Consumer<RoadSnapSnappedGeometry.Builder> snappedGeometry)
The interpolated geometry for the snapped route onto the road network.
This is a convenience method that creates an instance of theRoadSnapSnappedGeometry.Builderavoiding the need to create one manually viaRoadSnapSnappedGeometry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnappedGeometry(RoadSnapSnappedGeometry).- Parameters:
snappedGeometry- a consumer that will call methods onRoadSnapSnappedGeometry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
snappedGeometry(RoadSnapSnappedGeometry)
-
snappedGeometryFormat
SnapToRoadsResponse.Builder snappedGeometryFormat(String snappedGeometryFormat)
Specifies the format of the geometry returned for each leg of the route.
- Parameters:
snappedGeometryFormat- Specifies the format of the geometry returned for each leg of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeometryFormat,GeometryFormat
-
snappedGeometryFormat
SnapToRoadsResponse.Builder snappedGeometryFormat(GeometryFormat snappedGeometryFormat)
Specifies the format of the geometry returned for each leg of the route.
- Parameters:
snappedGeometryFormat- Specifies the format of the geometry returned for each leg of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeometryFormat,GeometryFormat
-
snappedTracePoints
SnapToRoadsResponse.Builder snappedTracePoints(Collection<RoadSnapSnappedTracePoint> snappedTracePoints)
The trace points snapped onto the road network.
- Parameters:
snappedTracePoints- The trace points snapped onto the road network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedTracePoints
SnapToRoadsResponse.Builder snappedTracePoints(RoadSnapSnappedTracePoint... snappedTracePoints)
The trace points snapped onto the road network.
- Parameters:
snappedTracePoints- The trace points snapped onto the road network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedTracePoints
SnapToRoadsResponse.Builder snappedTracePoints(Consumer<RoadSnapSnappedTracePoint.Builder>... snappedTracePoints)
The trace points snapped onto the road network.
This is a convenience method that creates an instance of theRoadSnapSnappedTracePoint.Builderavoiding the need to create one manually viaRoadSnapSnappedTracePoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#snappedTracePoints(List.) - Parameters:
snappedTracePoints- a consumer that will call methods onRoadSnapSnappedTracePoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#snappedTracePoints(java.util.Collection)
-
-