Interface TruckWeight.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TruckWeight.Builder,
,TruckWeight> SdkBuilder<TruckWeight.Builder,
,TruckWeight> SdkPojo
- Enclosing class:
TruckWeight
@Mutable
@NotThreadSafe
public static interface TruckWeight.Builder
extends SdkPojo, CopyableBuilder<TruckWeight.Builder,TruckWeight>
-
Method Summary
Modifier and TypeMethodDescriptionThe total weight of the truck.The unit of measurement to use for the truck weight.unit
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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:
-