vehicleRestrictions

fun vehicleRestrictions(vehicleRestrictions: VehicleRestrictions): ElectricVehicleDescriptor.Builder

Specifies the restriction that this vehicle should be subjected to.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

The builder of the descriptor with a new value of the VehicleRestrictions.