Interface RouteMatrixScooterOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteMatrixScooterOptions.Builder,RouteMatrixScooterOptions>,SdkBuilder<RouteMatrixScooterOptions.Builder,RouteMatrixScooterOptions>,SdkPojo
- Enclosing class:
- RouteMatrixScooterOptions
public static interface RouteMatrixScooterOptions.Builder extends SdkPojo, CopyableBuilder<RouteMatrixScooterOptions.Builder,RouteMatrixScooterOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RouteMatrixScooterOptions.BuilderlicensePlate(Consumer<RouteMatrixVehicleLicensePlate.Builder> licensePlate)The vehicle License Plate.RouteMatrixScooterOptions.BuilderlicensePlate(RouteMatrixVehicleLicensePlate licensePlate)The vehicle License Plate.RouteMatrixScooterOptions.BuildermaxSpeed(Double maxSpeed)Maximum speed.RouteMatrixScooterOptions.Builderoccupancy(Integer occupancy)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 Detail
-
licensePlate
RouteMatrixScooterOptions.Builder licensePlate(RouteMatrixVehicleLicensePlate 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.Builderavoiding the need to create one manually viaRouteMatrixVehicleLicensePlate.builder().When the
Consumercompletes,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:
licensePlate(RouteMatrixVehicleLicensePlate)
-
maxSpeed
RouteMatrixScooterOptions.Builder maxSpeed(Double 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
RouteMatrixScooterOptions.Builder occupancy(Integer 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.
-
-