Interface RouteCarOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteCarOptions.Builder,,RouteCarOptions> SdkBuilder<RouteCarOptions.Builder,,RouteCarOptions> SdkPojo
- Enclosing class:
RouteCarOptions
-
Method Summary
Modifier and TypeMethodDescriptionengineType(String engineType) Engine type of the vehicle.engineType(RouteEngineType engineType) Engine type of the vehicle.default RouteCarOptions.BuilderlicensePlate(Consumer<RouteVehicleLicensePlate.Builder> licensePlate) The vehicle License Plate.licensePlate(RouteVehicleLicensePlate licensePlate) The vehicle License Plate.Maximum speed specified.The number of occupants in the vehicle.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
-
engineType
Engine type of the vehicle. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
engineType- Engine type of the vehicle. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineType
Engine type of the vehicle. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.- Parameters:
engineType- Engine type of the vehicle. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 RouteCarOptions.Builder licensePlate(Consumer<RouteVehicleLicensePlate.Builder> licensePlate) The vehicle License Plate.
This is a convenience method that creates an instance of theRouteVehicleLicensePlate.Builderavoiding the need to create one manually viaRouteVehicleLicensePlate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolicensePlate(RouteVehicleLicensePlate).- Parameters:
licensePlate- a consumer that will call methods onRouteVehicleLicensePlate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxSpeed
Maximum speed specified. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.Unit:
kilometers per hour- Parameters:
maxSpeed- Maximum speed specified. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.Unit:
kilometers per hour- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occupancy
The number of occupants in the vehicle. Not supported in
ap-southeast-1andap-southeast-5regions for GrabMaps customers.Default value:
1- Parameters:
occupancy- The number of occupants in the vehicle. Not supported inap-southeast-1andap-southeast-5regions for GrabMaps customers.Default value:
1- Returns:
- Returns a reference to this object so that method calls can be chained together.
-