Interface RouteMatrixTravelModeOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteMatrixTravelModeOptions.Builder,
,RouteMatrixTravelModeOptions> SdkBuilder<RouteMatrixTravelModeOptions.Builder,
,RouteMatrixTravelModeOptions> SdkPojo
- Enclosing class:
RouteMatrixTravelModeOptions
-
Method Summary
Modifier and TypeMethodDescriptionTravel mode options when the provided travel mode is "Car"car
(RouteMatrixCarOptions car) Travel mode options when the provided travel mode is "Car"scooter
(Consumer<RouteMatrixScooterOptions.Builder> scooter) Travel mode options when the provided travel mode isScooter
scooter
(RouteMatrixScooterOptions scooter) Travel mode options when the provided travel mode isScooter
Travel mode options when the provided travel mode is "Truck"truck
(RouteMatrixTruckOptions truck) Travel mode options when the provided travel mode is "Truck"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
-
car
Travel mode options when the provided travel mode is "Car"
- Parameters:
car
- Travel mode options when the provided travel mode is "Car"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
car
Travel mode options when the provided travel mode is "Car"
This is a convenience method that creates an instance of theRouteMatrixCarOptions.Builder
avoiding the need to create one manually viaRouteMatrixCarOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocar(RouteMatrixCarOptions)
.- Parameters:
car
- a consumer that will call methods onRouteMatrixCarOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scooter
Travel mode options when the provided travel mode is
Scooter
When travel mode is set to
Scooter
, then the avoidance optionControlledAccessHighways
defaults totrue
.- Parameters:
scooter
- Travel mode options when the provided travel mode isScooter
When travel mode is set to
Scooter
, then the avoidance optionControlledAccessHighways
defaults totrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scooter
default RouteMatrixTravelModeOptions.Builder scooter(Consumer<RouteMatrixScooterOptions.Builder> scooter) Travel mode options when the provided travel mode is
Scooter
When travel mode is set to
Scooter
, then the avoidance optionControlledAccessHighways
defaults totrue
.RouteMatrixScooterOptions.Builder
avoiding the need to create one manually viaRouteMatrixScooterOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscooter(RouteMatrixScooterOptions)
.- Parameters:
scooter
- a consumer that will call methods onRouteMatrixScooterOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
truck
Travel mode options when the provided travel mode is "Truck"
- Parameters:
truck
- Travel mode options when the provided travel mode is "Truck"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
truck
Travel mode options when the provided travel mode is "Truck"
This is a convenience method that creates an instance of theRouteMatrixTruckOptions.Builder
avoiding the need to create one manually viaRouteMatrixTruckOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totruck(RouteMatrixTruckOptions)
.- Parameters:
truck
- a consumer that will call methods onRouteMatrixTruckOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-