public abstract static class TollCollection.Builder
extends java.lang.Object
TollCollection.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract TollCollection |
build()
Build a new
TollCollection object. |
abstract TollCollection.Builder |
type(java.lang.String type)
The type of toll collection point, either `toll_booth` or `toll_gantry`.
|
public abstract TollCollection.Builder type(@Nullable java.lang.String type)
type - toll collection typepublic abstract TollCollection build()
TollCollection object.TollCollection using the provided values in this builder