withWidthInCentimeters abstract method

VehicleSpecificationTruckBuilder withWidthInCentimeters(
  1. int widthInCentimeters
)

Sets the vehicle width in centimeters.

  • widthInCentimeters The vehicle width in centimeters.

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

Implementation

VehicleSpecificationTruckBuilder withWidthInCentimeters(int widthInCentimeters);