public abstract static class MapboxStreetsV8.Builder
extends java.lang.Object
MapboxStreetsV8
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract MapboxStreetsV8 |
build()
Build a new
MapboxStreetsV8 object. |
abstract MapboxStreetsV8.Builder |
roadClass(java.lang.String roadClass)
Class of the road exiting the intersection.
|
T |
unrecognizedJsonProperties(java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
Use this method to add parameters which are not present in the model yet but are supported
on the Directions API side in the response.
|
public abstract MapboxStreetsV8.Builder roadClass(@Nullable java.lang.String roadClass)
roadClass
- class of the road exiting the intersection.public abstract MapboxStreetsV8 build()
MapboxStreetsV8
object.MapboxStreetsV8
using the provided values in this builder@NonNull public T unrecognizedJsonProperties(@Nullable java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
unrecognizedProperties
- parameters to add to request