Interface WaypointOptimizationTruckOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WaypointOptimizationTruckOptions.Builder,WaypointOptimizationTruckOptions>,SdkBuilder<WaypointOptimizationTruckOptions.Builder,WaypointOptimizationTruckOptions>,SdkPojo
- Enclosing class:
- WaypointOptimizationTruckOptions
public static interface WaypointOptimizationTruckOptions.Builder extends SdkPojo, CopyableBuilder<WaypointOptimizationTruckOptions.Builder,WaypointOptimizationTruckOptions>
-
-
Method Summary
-
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 Detail
-
grossWeight
WaypointOptimizationTruckOptions.Builder grossWeight(Long grossWeight)
Gross weight of the vehicle including trailers, and goods at capacity.
Unit:
Kilograms- Parameters:
grossWeight- Gross weight of the vehicle including trailers, and goods at capacity.Unit:
Kilograms- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hazardousCargosWithStrings
WaypointOptimizationTruckOptions.Builder hazardousCargosWithStrings(Collection<String> hazardousCargos)
List of Hazardous cargo contained in the vehicle.
- Parameters:
hazardousCargos- List of Hazardous cargo contained in the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hazardousCargosWithStrings
WaypointOptimizationTruckOptions.Builder hazardousCargosWithStrings(String... hazardousCargos)
List of Hazardous cargo contained in the vehicle.
- Parameters:
hazardousCargos- List of Hazardous cargo contained in the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hazardousCargos
WaypointOptimizationTruckOptions.Builder hazardousCargos(Collection<WaypointOptimizationHazardousCargoType> hazardousCargos)
List of Hazardous cargo contained in the vehicle.
- Parameters:
hazardousCargos- List of Hazardous cargo contained in the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hazardousCargos
WaypointOptimizationTruckOptions.Builder hazardousCargos(WaypointOptimizationHazardousCargoType... hazardousCargos)
List of Hazardous cargo contained in the vehicle.
- Parameters:
hazardousCargos- List of Hazardous cargo contained in the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
height
WaypointOptimizationTruckOptions.Builder height(Long height)
Height of the vehicle.
Unit:
centimeters- Parameters:
height- Height of the vehicle.Unit:
centimeters- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
length
WaypointOptimizationTruckOptions.Builder length(Long length)
Length of the vehicle.
Unit:
centimeters- Parameters:
length- Length of the vehicle.Unit:
centimeters- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trailer
WaypointOptimizationTruckOptions.Builder trailer(WaypointOptimizationTrailerOptions trailer)
Trailer options corresponding to the vehicle.
- Parameters:
trailer- Trailer options corresponding to the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trailer
default WaypointOptimizationTruckOptions.Builder trailer(Consumer<WaypointOptimizationTrailerOptions.Builder> trailer)
Trailer options corresponding to the vehicle.
This is a convenience method that creates an instance of theWaypointOptimizationTrailerOptions.Builderavoiding the need to create one manually viaWaypointOptimizationTrailerOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrailer(WaypointOptimizationTrailerOptions).- Parameters:
trailer- a consumer that will call methods onWaypointOptimizationTrailerOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trailer(WaypointOptimizationTrailerOptions)
-
truckType
WaypointOptimizationTruckOptions.Builder truckType(String truckType)
Type of the truck.
- Parameters:
truckType- Type of the truck.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WaypointOptimizationTruckType,WaypointOptimizationTruckType
-
truckType
WaypointOptimizationTruckOptions.Builder truckType(WaypointOptimizationTruckType truckType)
Type of the truck.
- Parameters:
truckType- Type of the truck.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WaypointOptimizationTruckType,WaypointOptimizationTruckType
-
tunnelRestrictionCode
WaypointOptimizationTruckOptions.Builder tunnelRestrictionCode(String tunnelRestrictionCode)
The tunnel restriction code.
Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. They relate to the types of dangerous goods that can be transported through them.
-
Tunnel Category B
-
Risk Level: Limited risk
-
Restrictions: Few restrictions
-
-
Tunnel Category C
-
Risk Level: Medium risk
-
Restrictions: Some restrictions
-
-
Tunnel Category D
-
Risk Level: High risk
-
Restrictions: Many restrictions occur
-
-
Tunnel Category E
-
Risk Level: Very high risk
-
Restrictions: Restricted tunnel
-
- Parameters:
tunnelRestrictionCode- The tunnel restriction code.Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. They relate to the types of dangerous goods that can be transported through them.
-
Tunnel Category B
-
Risk Level: Limited risk
-
Restrictions: Few restrictions
-
-
Tunnel Category C
-
Risk Level: Medium risk
-
Restrictions: Some restrictions
-
-
Tunnel Category D
-
Risk Level: High risk
-
Restrictions: Many restrictions occur
-
-
Tunnel Category E
-
Risk Level: Very high risk
-
Restrictions: Restricted tunnel
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
weightPerAxle
WaypointOptimizationTruckOptions.Builder weightPerAxle(Long weightPerAxle)
Heaviest weight per axle irrespective of the axle type or the axle group. Meant for usage in countries where the differences in axle types or axle groups are not distinguished.
Unit:
Kilograms- Parameters:
weightPerAxle- Heaviest weight per axle irrespective of the axle type or the axle group. Meant for usage in countries where the differences in axle types or axle groups are not distinguished.Unit:
Kilograms- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
width
WaypointOptimizationTruckOptions.Builder width(Long width)
Width of the vehicle.
Unit:
centimeters- Parameters:
width- Width of the vehicle.Unit:
centimeters- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-