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 isScooterscooter(RouteMatrixScooterOptions scooter) Travel mode options when the provided travel mode isScooterTravel 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaRouteMatrixCarOptions.builder().When the
Consumercompletes,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
ScooterWhen travel mode is set to
Scooter, then the avoidance optionControlledAccessHighwaysdefaults totrue.- Parameters:
scooter- Travel mode options when the provided travel mode isScooterWhen travel mode is set to
Scooter, then the avoidance optionControlledAccessHighwaysdefaults 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 This is a convenience method that creates an instance of theWhen travel mode is set to
Scooter, then the avoidance optionControlledAccessHighwaysdefaults totrue.RouteMatrixScooterOptions.Builderavoiding the need to create one manually viaRouteMatrixScooterOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRouteMatrixTruckOptions.builder().When the
Consumercompletes,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:
-