Interface CalculateRoutesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CalculateRoutesResponse.Builder,
,CalculateRoutesResponse> GeoRoutesResponse.Builder
,SdkBuilder<CalculateRoutesResponse.Builder,
,CalculateRoutesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CalculateRoutesResponse
-
Method Summary
Modifier and TypeMethodDescriptionlegGeometryFormat
(String legGeometryFormat) Specifies the format of the geometry returned for each leg of the route.legGeometryFormat
(GeometryFormat legGeometryFormat) Specifies the format of the geometry returned for each leg of the route.notices
(Collection<RouteResponseNotice> notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices
(Consumer<RouteResponseNotice.Builder>... notices) Notices are additional information returned that indicate issues that occurred during route calculation.notices
(RouteResponseNotice... 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.routes
(Collection<Route> routes) The path from the origin to the destination.routes
(Consumer<Route.Builder>... routes) The path from the origin to the destination.The path from the origin to the destination.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 Details
-
legGeometryFormat
Specifies the format of the geometry returned for each leg of the route.
- Parameters:
legGeometryFormat
- 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:
-
legGeometryFormat
Specifies the format of the geometry returned for each leg of the route.
- Parameters:
legGeometryFormat
- 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:
-
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 theRouteResponseNotice.Builder
avoiding the need to create one manually viaRouteResponseNotice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotices(List<RouteResponseNotice>)
.- Parameters:
notices
- a consumer that will call methods onRouteResponseNotice.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.
-
routes
The path from the origin to the destination.
- Parameters:
routes
- The path from the origin to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The path from the origin to the destination.
- Parameters:
routes
- The path from the origin to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The path from the origin to the destination.
This is a convenience method that creates an instance of theRoute.Builder
avoiding the need to create one manually viaRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutes(List<Route>)
.- Parameters:
routes
- a consumer that will call methods onRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-