withTrailerCount abstract method

VehicleSpecificationCarBuilder withTrailerCount(
  1. int trailerCount
)

Sets the vehicle trailer count.

  • trailerCount The vehicle trailer count.

Returns VehicleSpecificationCarBuilder. The VehicleSpecificationCarBuilder object with the trailer count set to the new value.

Implementation

VehicleSpecificationCarBuilder withTrailerCount(int trailerCount);