withEngineSizeInCubicCentimeters abstract method

VehicleSpecificationTruckBuilder withEngineSizeInCubicCentimeters(
  1. int engineSizeInCubicCentimeters
)

Sets the vehicle engine size in cubic centimeters.

  • engineSizeInCubicCentimeters The vehicle engine size in cubic centimeters.

Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the engine size set to the new value.

Implementation

VehicleSpecificationTruckBuilder withEngineSizeInCubicCentimeters(int engineSizeInCubicCentimeters);