withHazardousMaterials abstract method

VehicleSpecificationNetworkRestrictedTruckBuilder withHazardousMaterials(
  1. List<HazardousMaterial> hazardousMaterials
)

Sets the hazardous materials transported in the vehicle.

  • hazardousMaterials The hazardous materials transported in the vehicle.

Returns VehicleSpecificationNetworkRestrictedTruckBuilder. The VehicleSpecificationNetworkRestrictedTruckBuilder object with the hazardous materiales transported in the vehicle set to the new value.

Implementation

VehicleSpecificationNetworkRestrictedTruckBuilder withHazardousMaterials(List<HazardousMaterial> hazardousMaterials);