Interface RouteMatrixScooterOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteMatrixScooterOptions.Builder,
,RouteMatrixScooterOptions> SdkBuilder<RouteMatrixScooterOptions.Builder,
,RouteMatrixScooterOptions> SdkPojo
- Enclosing class:
RouteMatrixScooterOptions
@Mutable
@NotThreadSafe
public static interface RouteMatrixScooterOptions.Builder
extends SdkPojo, CopyableBuilder<RouteMatrixScooterOptions.Builder,RouteMatrixScooterOptions>
-
Method Summary
Modifier and TypeMethodDescriptionlicensePlate
(Consumer<RouteMatrixVehicleLicensePlate.Builder> licensePlate) The vehicle License Plate.licensePlate
(RouteMatrixVehicleLicensePlate licensePlate) The vehicle License Plate.Maximum speed.The number of occupants in the vehicle.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
-
licensePlate
The vehicle License Plate.
- Parameters:
licensePlate
- The vehicle License Plate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licensePlate
default RouteMatrixScooterOptions.Builder licensePlate(Consumer<RouteMatrixVehicleLicensePlate.Builder> licensePlate) The vehicle License Plate.
This is a convenience method that creates an instance of theRouteMatrixVehicleLicensePlate.Builder
avoiding the need to create one manually viaRouteMatrixVehicleLicensePlate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolicensePlate(RouteMatrixVehicleLicensePlate)
.- Parameters:
licensePlate
- a consumer that will call methods onRouteMatrixVehicleLicensePlate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxSpeed
Maximum speed.
Unit:
KilometersPerHour
- Parameters:
maxSpeed
- Maximum speed.Unit:
KilometersPerHour
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occupancy
The number of occupants in the vehicle.
Default Value:
1
- Parameters:
occupancy
- The number of occupants in the vehicle.Default Value:
1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-