Interface IsolineTruckOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineTruckOptions.Builder,IsolineTruckOptions>,SdkBuilder<IsolineTruckOptions.Builder,IsolineTruckOptions>,SdkPojo
- Enclosing class:
- IsolineTruckOptions
public static interface IsolineTruckOptions.Builder extends SdkPojo, CopyableBuilder<IsolineTruckOptions.Builder,IsolineTruckOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IsolineTruckOptions.BuilderaxleCount(Integer axleCount)Total number of axles of the vehicle.IsolineTruckOptions.BuilderengineType(String engineType)Engine type of the vehicle.IsolineTruckOptions.BuilderengineType(IsolineEngineType engineType)Engine type of the vehicle.IsolineTruckOptions.BuildergrossWeight(Long grossWeight)Gross weight of the vehicle including trailers, and goods at capacity.IsolineTruckOptions.BuilderhazardousCargos(Collection<IsolineHazardousCargoType> hazardousCargos)List of Hazardous cargo contained in the vehicle.IsolineTruckOptions.BuilderhazardousCargos(IsolineHazardousCargoType... hazardousCargos)List of Hazardous cargo contained in the vehicle.IsolineTruckOptions.BuilderhazardousCargosWithStrings(String... hazardousCargos)List of Hazardous cargo contained in the vehicle.IsolineTruckOptions.BuilderhazardousCargosWithStrings(Collection<String> hazardousCargos)List of Hazardous cargo contained in the vehicle.IsolineTruckOptions.Builderheight(Long height)Height of the vehicle.IsolineTruckOptions.BuilderheightAboveFirstAxle(Long heightAboveFirstAxle)Height of the vehicle above its first axle.IsolineTruckOptions.BuilderkpraLength(Long kpraLength)Kingpin to rear axle length of the vehicle.IsolineTruckOptions.Builderlength(Long length)Length of the vehicle.default IsolineTruckOptions.BuilderlicensePlate(Consumer<IsolineVehicleLicensePlate.Builder> licensePlate)The vehicle License Plate.IsolineTruckOptions.BuilderlicensePlate(IsolineVehicleLicensePlate licensePlate)The vehicle License Plate.IsolineTruckOptions.BuildermaxSpeed(Double maxSpeed)Maximum speed specified.IsolineTruckOptions.Builderoccupancy(Integer occupancy)The number of occupants in the vehicle.IsolineTruckOptions.BuilderpayloadCapacity(Long payloadCapacity)Payload capacity of the vehicle and trailers attached.IsolineTruckOptions.BuildertireCount(Integer tireCount)Number of tires on the vehicle.default IsolineTruckOptions.Buildertrailer(Consumer<IsolineTrailerOptions.Builder> trailer)Trailer options corresponding to the vehicle.IsolineTruckOptions.Buildertrailer(IsolineTrailerOptions trailer)Trailer options corresponding to the vehicle.IsolineTruckOptions.BuildertruckType(String truckType)Type of the truck.IsolineTruckOptions.BuildertruckType(IsolineTruckType truckType)Type of the truck.IsolineTruckOptions.BuildertunnelRestrictionCode(String tunnelRestrictionCode)The tunnel restriction code.IsolineTruckOptions.BuilderweightPerAxle(Long weightPerAxle)Heaviest weight per axle irrespective of the axle type or the axle group.default IsolineTruckOptions.BuilderweightPerAxleGroup(Consumer<WeightPerAxleGroup.Builder> weightPerAxleGroup)Specifies the total weight for the specified axle group.IsolineTruckOptions.BuilderweightPerAxleGroup(WeightPerAxleGroup weightPerAxleGroup)Specifies the total weight for the specified axle group.IsolineTruckOptions.Builderwidth(Long width)Width of 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 Detail
-
axleCount
IsolineTruckOptions.Builder axleCount(Integer axleCount)
Total number of axles of the vehicle.
- Parameters:
axleCount- Total number of axles of the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineType
IsolineTruckOptions.Builder engineType(String 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:
IsolineEngineType,IsolineEngineType
-
engineType
IsolineTruckOptions.Builder engineType(IsolineEngineType 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:
IsolineEngineType,IsolineEngineType
-
grossWeight
IsolineTruckOptions.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
IsolineTruckOptions.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
IsolineTruckOptions.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
IsolineTruckOptions.Builder hazardousCargos(Collection<IsolineHazardousCargoType> 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
IsolineTruckOptions.Builder hazardousCargos(IsolineHazardousCargoType... 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
IsolineTruckOptions.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.
-
heightAboveFirstAxle
IsolineTruckOptions.Builder heightAboveFirstAxle(Long heightAboveFirstAxle)
Height of the vehicle above its first axle.
Unit:
centimeters- Parameters:
heightAboveFirstAxle- Height of the vehicle above its first axle.Unit:
centimeters- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kpraLength
IsolineTruckOptions.Builder kpraLength(Long kpraLength)
Kingpin to rear axle length of the vehicle.
Unit:
centimeters- Parameters:
kpraLength- Kingpin to rear axle length of the vehicle.Unit:
centimeters- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
length
IsolineTruckOptions.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.
-
licensePlate
IsolineTruckOptions.Builder licensePlate(IsolineVehicleLicensePlate 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 IsolineTruckOptions.Builder licensePlate(Consumer<IsolineVehicleLicensePlate.Builder> licensePlate)
The vehicle License Plate.
This is a convenience method that creates an instance of theIsolineVehicleLicensePlate.Builderavoiding the need to create one manually viaIsolineVehicleLicensePlate.builder().When the
Consumercompletes,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:
licensePlate(IsolineVehicleLicensePlate)
-
maxSpeed
IsolineTruckOptions.Builder maxSpeed(Double 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
IsolineTruckOptions.Builder occupancy(Integer 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.
-
payloadCapacity
IsolineTruckOptions.Builder payloadCapacity(Long payloadCapacity)
Payload capacity of the vehicle and trailers attached.
Unit:
kilograms- Parameters:
payloadCapacity- Payload capacity of the vehicle and trailers attached.Unit:
kilograms- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tireCount
IsolineTruckOptions.Builder tireCount(Integer tireCount)
Number of tires on the vehicle.
- Parameters:
tireCount- Number of tires on the vehicle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trailer
IsolineTruckOptions.Builder trailer(IsolineTrailerOptions 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 IsolineTruckOptions.Builder trailer(Consumer<IsolineTrailerOptions.Builder> trailer)
Trailer options corresponding to the vehicle.
This is a convenience method that creates an instance of theIsolineTrailerOptions.Builderavoiding the need to create one manually viaIsolineTrailerOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrailer(IsolineTrailerOptions).- Parameters:
trailer- a consumer that will call methods onIsolineTrailerOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trailer(IsolineTrailerOptions)
-
truckType
IsolineTruckOptions.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:
IsolineTruckType,IsolineTruckType
-
truckType
IsolineTruckOptions.Builder truckType(IsolineTruckType 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:
IsolineTruckType,IsolineTruckType
-
tunnelRestrictionCode
IsolineTruckOptions.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
IsolineTruckOptions.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.
-
weightPerAxleGroup
IsolineTruckOptions.Builder weightPerAxleGroup(WeightPerAxleGroup weightPerAxleGroup)
Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.
Unit:
Kilograms- Parameters:
weightPerAxleGroup- Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.Unit:
Kilograms- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weightPerAxleGroup
default IsolineTruckOptions.Builder weightPerAxleGroup(Consumer<WeightPerAxleGroup.Builder> weightPerAxleGroup)
Specifies the total weight for the specified axle group. Meant for usage in countries that have different regulations based on the axle group type.
Unit:
This is a convenience method that creates an instance of theKilogramsWeightPerAxleGroup.Builderavoiding the need to create one manually viaWeightPerAxleGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweightPerAxleGroup(WeightPerAxleGroup).- Parameters:
weightPerAxleGroup- a consumer that will call methods onWeightPerAxleGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
weightPerAxleGroup(WeightPerAxleGroup)
-
width
IsolineTruckOptions.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.
-
-