withEngineSizeInCubicCentimeters abstract method
- int engineSizeInCubicCentimeters
Sets the vehicle engine size in cubic centimeters.
engineSizeInCubicCentimetersThe vehicle engine size in cubic centimeters.
Returns VehicleSpecificationCarBuilder. The VehicleSpecificationCarBuilder object with the engine size set to the new value.
Implementation
VehicleSpecificationCarBuilder withEngineSizeInCubicCentimeters(int engineSizeInCubicCentimeters);