withCurrentWeightInKilograms abstract method

VehicleSpecificationPrivateBusBuilder withCurrentWeightInKilograms(
  1. int currentWeightInKilograms
)

Sets the vehicle current weight in kilograms.

  • currentWeightInKilograms The vehicle current weight in kilograms.

Returns VehicleSpecificationPrivateBusBuilder. The VehicleSpecificationPrivateBusBuilder object with the current weight set to the new value.

Implementation

VehicleSpecificationPrivateBusBuilder withCurrentWeightInKilograms(int currentWeightInKilograms);