Class VehicleSpecification.VehicleSpecificationBuilder
- java.lang.Object
-
- global.maplink.trip.schema.v1.payload.VehicleSpecification.VehicleSpecificationBuilder
-
- Enclosing class:
- VehicleSpecification
public static class VehicleSpecification.VehicleSpecificationBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
maxWeight
public VehicleSpecification.VehicleSpecificationBuilder maxWeight(Double maxWeight)
- Returns:
this.
-
maxWeightPerAxle
public VehicleSpecification.VehicleSpecificationBuilder maxWeightPerAxle(Double maxWeightPerAxle)
- Returns:
this.
-
maxLength
public VehicleSpecification.VehicleSpecificationBuilder maxLength(Double maxLength)
- Returns:
this.
-
maxLengthBetweenAxles
public VehicleSpecification.VehicleSpecificationBuilder maxLengthBetweenAxles(Double maxLengthBetweenAxles)
- Returns:
this.
-
maxWidth
public VehicleSpecification.VehicleSpecificationBuilder maxWidth(Double maxWidth)
- Returns:
this.
-
maxHeight
public VehicleSpecification.VehicleSpecificationBuilder maxHeight(Double maxHeight)
- Returns:
this.
-
maxWeightForExplodingMaterials
public VehicleSpecification.VehicleSpecificationBuilder maxWeightForExplodingMaterials(Double maxWeightForExplodingMaterials)
- Returns:
this.
-
maxWeightForPollutingMaterials
public VehicleSpecification.VehicleSpecificationBuilder maxWeightForPollutingMaterials(Double maxWeightForPollutingMaterials)
- Returns:
this.
-
maxWeightForDangerousMaterials
public VehicleSpecification.VehicleSpecificationBuilder maxWeightForDangerousMaterials(Double maxWeightForDangerousMaterials)
- Returns:
this.
-
loadType
public VehicleSpecification.VehicleSpecificationBuilder loadType(LoadType loadType)
-
loadTypes
public VehicleSpecification.VehicleSpecificationBuilder loadTypes(Collection<? extends LoadType> loadTypes)
-
clearLoadTypes
public VehicleSpecification.VehicleSpecificationBuilder clearLoadTypes()
-
build
public VehicleSpecification build()
-
-