Interface IsolineScooterOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineScooterOptions.Builder,,IsolineScooterOptions> SdkBuilder<IsolineScooterOptions.Builder,,IsolineScooterOptions> SdkPojo
- Enclosing class:
IsolineScooterOptions
-
Method Summary
Modifier and TypeMethodDescriptionengineType(String engineType) The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.engineType(IsolineEngineType engineType) The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.default IsolineScooterOptions.BuilderlicensePlate(Consumer<IsolineVehicleLicensePlate.Builder> licensePlate) License plate information used in regions where road access or routing restrictions are based on license plate numbers.licensePlate(IsolineVehicleLicensePlate licensePlate) License plate information used in regions where road access or routing restrictions are based on license plate numbers.The maximum speed of the vehicle in kilometers per hour.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
The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.
-
INTERNAL_COMBUSTION—Standard gasoline or diesel engine. -
ELECTRIC—Battery electric vehicle. -
PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.
- Parameters:
engineType- The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.-
INTERNAL_COMBUSTION—Standard gasoline or diesel engine. -
ELECTRIC—Battery electric vehicle. -
PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
engineType
The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.
-
INTERNAL_COMBUSTION—Standard gasoline or diesel engine. -
ELECTRIC—Battery electric vehicle. -
PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.
- Parameters:
engineType- The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.-
INTERNAL_COMBUSTION—Standard gasoline or diesel engine. -
ELECTRIC—Battery electric vehicle. -
PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
licensePlate
License plate information used in regions where road access or routing restrictions are based on license plate numbers.
- Parameters:
licensePlate- License plate information used in regions where road access or routing restrictions are based on license plate numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licensePlate
default IsolineScooterOptions.Builder licensePlate(Consumer<IsolineVehicleLicensePlate.Builder> licensePlate) License plate information used in regions where road access or routing restrictions are based on license plate numbers.
This is a convenience method that creates an instance of theIsolineVehicleLicensePlate.Builderavoiding the need to create one manually viaIsolineVehicleLicensePlate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolicensePlate(IsolineVehicleLicensePlate).- Parameters:
licensePlate- a consumer that will call methods onIsolineVehicleLicensePlate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxSpeed
The maximum speed of the vehicle in kilometers per hour. When specified, routes will not include roads with higher speed limits. Valid values range from 3.6 km/h (1 m/s) to 252 km/h (70 m/s).
Unit:
kilometers per hour- Parameters:
maxSpeed- The maximum speed of the vehicle in kilometers per hour. When specified, routes will not include roads with higher speed limits. Valid values range from 3.6 km/h (1 m/s) to 252 km/h (70 m/s).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. This can affect route calculations by enabling the use of high-occupancy vehicle (HOV) lanes where minimum occupancy requirements are met.
Default value:
1- Parameters:
occupancy- The number of occupants in the vehicle. This can affect route calculations by enabling the use of high-occupancy vehicle (HOV) lanes where minimum occupancy requirements are met.Default value:
1- Returns:
- Returns a reference to this object so that method calls can be chained together.
-