Interface TruckWeight.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TruckWeight.Builder,TruckWeight>,SdkBuilder<TruckWeight.Builder,TruckWeight>,SdkPojo
- Enclosing class:
- TruckWeight
public static interface TruckWeight.Builder extends SdkPojo, CopyableBuilder<TruckWeight.Builder,TruckWeight>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TruckWeight.Buildertotal(Double total)The total weight of the truck.TruckWeight.Builderunit(String unit)The unit of measurement to use for the truck weight.TruckWeight.Builderunit(VehicleWeightUnit unit)The unit of measurement to use for the truck weight.-
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, sdkFields
-
-
-
-
Method Detail
-
total
TruckWeight.Builder total(Double total)
The total weight of the truck.
-
For example,
3500.
- Parameters:
total- The total weight of the truck.-
For example,
3500.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
unit
TruckWeight.Builder unit(String unit)
The unit of measurement to use for the truck weight.
Default Value:
Kilograms- Parameters:
unit- The unit of measurement to use for the truck weight.Default Value:
Kilograms- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VehicleWeightUnit,VehicleWeightUnit
-
unit
TruckWeight.Builder unit(VehicleWeightUnit unit)
The unit of measurement to use for the truck weight.
Default Value:
Kilograms- Parameters:
unit- The unit of measurement to use for the truck weight.Default Value:
Kilograms- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VehicleWeightUnit,VehicleWeightUnit
-
-