Interface RouteMatrixCarOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteMatrixCarOptions.Builder,RouteMatrixCarOptions>,SdkBuilder<RouteMatrixCarOptions.Builder,RouteMatrixCarOptions>,SdkPojo
- Enclosing class:
- RouteMatrixCarOptions
public static interface RouteMatrixCarOptions.Builder extends SdkPojo, CopyableBuilder<RouteMatrixCarOptions.Builder,RouteMatrixCarOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RouteMatrixCarOptions.BuilderlicensePlate(Consumer<RouteMatrixVehicleLicensePlate.Builder> licensePlate)The vehicle License Plate.RouteMatrixCarOptions.BuilderlicensePlate(RouteMatrixVehicleLicensePlate licensePlate)The vehicle License Plate.RouteMatrixCarOptions.BuildermaxSpeed(Double maxSpeed)Maximum speedRouteMatrixCarOptions.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
RouteMatrixCarOptions.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 RouteMatrixCarOptions.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
RouteMatrixCarOptions.Builder maxSpeed(Double maxSpeed)
Maximum speed
Unit:
KilometersPerHour- Parameters:
maxSpeed- Maximum speedUnit:
KilometersPerHour- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occupancy
RouteMatrixCarOptions.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.
-
-