withWeightPerAxleInKilograms abstract method

VehicleSpecificationTruckBuilder withWeightPerAxleInKilograms(
  1. int weightPerAxleInKilograms
)

Sets the vehicle weight per axle in kilograms.

  • weightPerAxleInKilograms The vehicle weight per axle in kilograms.

Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the current weight per axle set to the new value.

Implementation

VehicleSpecificationTruckBuilder withWeightPerAxleInKilograms(int weightPerAxleInKilograms);