Interface IsolineScooterOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IsolineScooterOptions.Builder,
,IsolineScooterOptions> SdkBuilder<IsolineScooterOptions.Builder,
,IsolineScooterOptions> SdkPojo
- Enclosing class:
IsolineScooterOptions
@Mutable
@NotThreadSafe
public static interface IsolineScooterOptions.Builder
extends SdkPojo, CopyableBuilder<IsolineScooterOptions.Builder,IsolineScooterOptions>
-
Method Summary
Modifier and TypeMethodDescriptionengineType
(String engineType) Engine type of the vehicle.engineType
(IsolineEngineType engineType) Engine type of the vehicle.default IsolineScooterOptions.Builder
licensePlate
(Consumer<IsolineVehicleLicensePlate.Builder> licensePlate) The vehicle License Plate.licensePlate
(IsolineVehicleLicensePlate 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
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
-
engineType
Engine type of the vehicle.
- Parameters:
engineType
- Engine type of the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineType
Engine type of the vehicle.
- Parameters:
engineType
- Engine type of the vehicle.- 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 IsolineScooterOptions.Builder licensePlate(Consumer<IsolineVehicleLicensePlate.Builder> licensePlate) The vehicle License Plate.
This is a convenience method that creates an instance of theIsolineVehicleLicensePlate.Builder
avoiding the need to create one manually viaIsolineVehicleLicensePlate.builder()
.When the
Consumer
completes,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
Maximum speed specified.
Unit:
KilometersPerHour
- Parameters:
maxSpeed
- Maximum speed specified.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.
-