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