withGrossWeightInKilograms abstract method

VehicleSpecificationTruckBuilder withGrossWeightInKilograms(
  1. int grossWeightInKilograms
)

Sets the vehicle gross weight in kilograms.

  • grossWeightInKilograms The vehicle gross weight in kilograms.

Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the gross weight set to the new value.

Implementation

VehicleSpecificationTruckBuilder withGrossWeightInKilograms(int grossWeightInKilograms);