withLengthInCentimeters abstract method

VehicleSpecificationCarBuilder withLengthInCentimeters(
  1. int lengthInCentimeters
)

Sets the vehicle length in centimeters.

  • lengthInCentimeters The vehicle length in centimeters.

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

Implementation

VehicleSpecificationCarBuilder withLengthInCentimeters(int lengthInCentimeters);