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

Builder

@PublicPreview("2021.06") 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.