withTruckCategory abstract method

VehicleSpecificationTruckBuilder withTruckCategory(
  1. TruckCategory truckCategory
)

Sets the vehicle truck category.

  • truckCategory The vehicle truck category.

Returns VehicleSpecificationTruckBuilder. The VehicleSpecificationTruckBuilder object with the truck category set to the new value.

Implementation

VehicleSpecificationTruckBuilder withTruckCategory(TruckCategory truckCategory);