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 isCar.car(RouteMatrixCarOptions car) Travel mode options when the provided travel mode isCar.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 isTruck.truck(RouteMatrixTruckOptions truck) Travel mode options when the provided travel mode isTruck.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 isCar.- 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
This is a convenience method that creates an instance of theCar.RouteMatrixCarOptions.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
Scooter.When travel mode is set to
Scooter, then the avoidance optionControlledAccessHighwaysdefaults totrue.- Parameters:
scooter- Travel mode options when the provided travel mode isScooter.When 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 isTruck.- 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
This is a convenience method that creates an instance of theTruck.RouteMatrixTruckOptions.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:
-