sdk-routing / com.tomtom.online.sdk.routing.batch / BatchRoutesSpecification / Builder

Builder

@Beta(2020, 12) class Builder

Builder used to create an instance of BatchRoutesSpecification that can be used in the Batch Routing service. Once constructed, the user cannot change the field values.

Constructors

<init>

Builder()

Builder used to create an instance of BatchRoutesSpecification that can be used in the Batch Routing service. Once constructed, the user cannot change the field values.

Functions

build

fun build(): BatchRoutesSpecification

Constructs a new BatchRoutesSpecification.

reachableRangeSpecifications

fun reachableRangeSpecifications(reachableRangeSpecifications: List<ReachableRangeSpecification>): BatchRoutesSpecification.Builder

Specifies parameters related to the vehicle itself.

routeSpecifications

fun routeSpecifications(routeSpecifications: List<RouteSpecification>): BatchRoutesSpecification.Builder

Specifies parameters related to the route itself.