withLengthInCentimeters abstract method
- int lengthInCentimeters
Sets the vehicle length in centimeters.
lengthInCentimetersThe vehicle length in centimeters.
Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the vehicle length set to the new value.
Implementation
VehicleSpecificationTruckBuilder withLengthInCentimeters(int lengthInCentimeters);