类 RestStop.Builder
java.lang.Object
ai.nextbillion.kits.directions.models.RestStop.Builder
- 封闭类:
- RestStop
This builder can be used to set the values describing the
RestStop.-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
type
The type of rest stop, either `rest_area` (includes parking only) or `service_area` (includes amenities such as gas or restaurants). Note that adding new possible types is not considered a breaking change.- 参数:
type- rest stop type
-
build
Build a newRestStopobject.- 返回:
- a new
RestStopusing the provided values in this builder
-