withHeightInCentimeters abstract method

VehicleSpecificationTruckBuilder withHeightInCentimeters(
  1. int heightInCentimeters
)

Sets the vehicle height in centimeters.

  • heightInCentimeters The vehicle height in centimeters.

Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the vehicle height set to the new value.

Implementation

VehicleSpecificationTruckBuilder withHeightInCentimeters(int heightInCentimeters);