withVehicleSpecification abstract method
- VehicleSpecification vehicleSpecification
Sets the vehicle specification.
vehicleSpecificationThe vehicle specification.
Returns TransportSpecificationTruckBuilder. The TransportSpecificationCarBuilder object with the vehicle specification set to the new value.
Implementation
TransportSpecificationTruckBuilder withVehicleSpecification(VehicleSpecification vehicleSpecification);