withCurrentWeightInKilograms abstract method

VehicleSpecificationTaxiBuilder withCurrentWeightInKilograms(
  1. int currentWeightInKilograms
)

Sets the vehicle current weight in kilograms.

  • currentWeightInKilograms The vehicle current weight in kilograms.

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

Implementation

VehicleSpecificationTaxiBuilder withCurrentWeightInKilograms(int currentWeightInKilograms);