Interface SnapToRoadsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SnapToRoadsResponse.Builder,,SnapToRoadsResponse> GeoRoutesResponse.Builder,SdkBuilder<SnapToRoadsResponse.Builder,,SnapToRoadsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SnapToRoadsResponse
-
Method Summary
Modifier and TypeMethodDescriptionnotices(Collection<RoadSnapNotice> notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices(Consumer<RoadSnapNotice.Builder>... notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices(RoadSnapNotice... notices) Notices are additional information returned that indicate issues that occurred during route calculation.pricingBucket(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.snappedGeometry(RoadSnapSnappedGeometry snappedGeometry) The interpolated geometry for the snapped route onto the road network.snappedGeometryFormat(String snappedGeometryFormat) Specifies the format of the geometry returned for each leg of the route.snappedGeometryFormat(GeometryFormat snappedGeometryFormat) Specifies the format of the geometry returned for each leg of the route.snappedTracePoints(Collection<RoadSnapSnappedTracePoint> snappedTracePoints) The trace points snapped onto the road network.snappedTracePoints(Consumer<RoadSnapSnappedTracePoint.Builder>... snappedTracePoints) The trace points snapped onto the road network.snappedTracePoints(RoadSnapSnappedTracePoint... snappedTracePoints) The trace points snapped onto the road network.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.georoutes.model.GeoRoutesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 tonotices(List<RoadSnapNotice>).- 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:
-
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
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:
-
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:
-
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:
-
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
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 tosnappedTracePoints(List<RoadSnapSnappedTracePoint>).- 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:
-