@Beta(2020, 12) class Builder
Builder used to create an instance of CombustionVehicleDescriptor. Once constructed, the user cannot change the field values.
Builder()
Builder used to create an instance of CombustionVehicleDescriptor. Once constructed, the user cannot change the field values. |
fun build(): CombustionVehicleDescriptor
Constructs a new CombustionVehicleDescriptor. |
|
fun fuelSet(fuelSet: Set<FuelType>): CombustionVehicleDescriptor.Builder
Specifies the FuelType. |