withLengthInCentimeters abstract method

VehicleSpecificationTruckBuilder withLengthInCentimeters(
  1. int lengthInCentimeters
)

Sets the vehicle length in centimeters.

  • lengthInCentimeters The vehicle length in centimeters.

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

Implementation

VehicleSpecificationTruckBuilder withLengthInCentimeters(int lengthInCentimeters);