sdk-search / com.tomtom.online.sdk.search.vehicle / CombustionVehicleDescriptor / Builder

Builder

@Beta(2020, 12) class Builder

Builder used to create an instance of CombustionVehicleDescriptor. Once constructed, the user cannot change the field values.

Constructors

<init>

Builder()

Builder used to create an instance of CombustionVehicleDescriptor. Once constructed, the user cannot change the field values.

Functions

build

fun build(): CombustionVehicleDescriptor

Constructs a new CombustionVehicleDescriptor.

fuelSet

fun fuelSet(fuelSet: Set<FuelType>): CombustionVehicleDescriptor.Builder

Specifies the FuelType.