withCurrentWeightInKilograms abstract method
- int currentWeightInKilograms
Sets the vehicle current weight in kilograms.
currentWeightInKilogramsThe vehicle current weight in kilograms.
Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the current weight set to the new value.
Implementation
VehicleSpecificationTruckBuilder withCurrentWeightInKilograms(int currentWeightInKilograms);