Interface RouteTravelModeOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTravelModeOptions.Builder,,RouteTravelModeOptions> SdkBuilder<RouteTravelModeOptions.Builder,,RouteTravelModeOptions> SdkPojo
- Enclosing class:
RouteTravelModeOptions
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteTravelModeOptions.BuilderTravel mode options when the provided travel mode isCar.car(RouteCarOptions car) Travel mode options when the provided travel mode isCar.default RouteTravelModeOptions.Builderpedestrian(Consumer<RoutePedestrianOptions.Builder> pedestrian) Travel mode options when the provided travel mode isPedestrian.pedestrian(RoutePedestrianOptions pedestrian) Travel mode options when the provided travel mode isPedestrian.default RouteTravelModeOptions.Builderscooter(Consumer<RouteScooterOptions.Builder> scooter) Travel mode options when the provided travel mode isScooter.scooter(RouteScooterOptions scooter) Travel mode options when the provided travel mode isScooter.default RouteTravelModeOptions.Buildertruck(Consumer<RouteTruckOptions.Builder> truck) Travel mode options when the provided travel mode isTruck.truck(RouteTruckOptions 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.RouteCarOptions.Builderavoiding the need to create one manually viaRouteCarOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocar(RouteCarOptions).- Parameters:
car- a consumer that will call methods onRouteCarOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pedestrian
Travel mode options when the provided travel mode is
Pedestrian.- Parameters:
pedestrian- Travel mode options when the provided travel mode isPedestrian.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pedestrian
default RouteTravelModeOptions.Builder pedestrian(Consumer<RoutePedestrianOptions.Builder> pedestrian) Travel mode options when the provided travel mode is
This is a convenience method that creates an instance of thePedestrian.RoutePedestrianOptions.Builderavoiding the need to create one manually viaRoutePedestrianOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topedestrian(RoutePedestrianOptions).- Parameters:
pedestrian- a consumer that will call methods onRoutePedestrianOptions.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
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.RouteScooterOptions.Builderavoiding the need to create one manually viaRouteScooterOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscooter(RouteScooterOptions).- Parameters:
scooter- a consumer that will call methods onRouteScooterOptions.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.RouteTruckOptions.Builderavoiding the need to create one manually viaRouteTruckOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totruck(RouteTruckOptions).- Parameters:
truck- a consumer that will call methods onRouteTruckOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-