Interface TruckDimensions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TruckDimensions.Builder,TruckDimensions>,SdkBuilder<TruckDimensions.Builder,TruckDimensions>,SdkPojo
- Enclosing class:
- TruckDimensions
public static interface TruckDimensions.Builder extends SdkPojo, CopyableBuilder<TruckDimensions.Builder,TruckDimensions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TruckDimensions.Builderheight(Double height)The height of the truck.TruckDimensions.Builderlength(Double length)The length of the truck.TruckDimensions.Builderunit(String unit)Specifies the unit of measurement for the truck dimensions.TruckDimensions.Builderunit(DimensionUnit unit)Specifies the unit of measurement for the truck dimensions.TruckDimensions.Builderwidth(Double width)The width of the truck.-
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
-
height
TruckDimensions.Builder height(Double height)
The height of the truck.
-
For example,
4.5.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
- Parameters:
height- The height of the truck.-
For example,
4.5.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
length
TruckDimensions.Builder length(Double length)
The length of the truck.
-
For example,
15.5.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
- Parameters:
length- The length of the truck.-
For example,
15.5.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
unit
TruckDimensions.Builder unit(String unit)
Specifies the unit of measurement for the truck dimensions.
Default Value:
Meters- Parameters:
unit- Specifies the unit of measurement for the truck dimensions.Default Value:
Meters- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DimensionUnit,DimensionUnit
-
unit
TruckDimensions.Builder unit(DimensionUnit unit)
Specifies the unit of measurement for the truck dimensions.
Default Value:
Meters- Parameters:
unit- Specifies the unit of measurement for the truck dimensions.Default Value:
Meters- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DimensionUnit,DimensionUnit
-
width
TruckDimensions.Builder width(Double width)
The width of the truck.
-
For example,
4.5.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
- Parameters:
width- The width of the truck.-
For example,
4.5.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-