withTrailerCount abstract method
- int trailerCount
Sets the vehicle trailer count.
trailerCountThe vehicle trailer count.
Returns VehicleSpecificationCarBuilder. The VehicleSpecificationCarBuilder object with the trailer count set to the new value.
Implementation
VehicleSpecificationCarBuilder withTrailerCount(int trailerCount);