withVehicleSpecification abstract method

TransportSpecificationTruckBuilder withVehicleSpecification(
  1. VehicleSpecification vehicleSpecification
)

Sets the vehicle specification.

  • vehicleSpecification The vehicle specification.

Returns TransportSpecificationTruckBuilder. The TransportSpecificationCarBuilder object with the vehicle specification set to the new value.

Implementation

TransportSpecificationTruckBuilder withVehicleSpecification(VehicleSpecification vehicleSpecification);