withVehicleSpecification abstract method

TransportSpecificationCarBuilder withVehicleSpecification(
  1. VehicleSpecification vehicleSpecification
)

Sets the vehicle specification.

  • vehicleSpecification The vehicle specification.

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

Implementation

TransportSpecificationCarBuilder withVehicleSpecification(VehicleSpecification vehicleSpecification);