public abstract static class RoutablePoint.Builder
extends java.lang.Object
RoutablePoint.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract RoutablePoint |
build()
Build a new
RoutablePoint object. |
abstract RoutablePoint.Builder |
name(java.lang.String name)
A string representing the routable point name.
|
abstract RoutablePoint.Builder |
rawCoordinate(double[] coordinate)
Raw coordinates (longitude and latitude, order matters)
that represent the routable point location.
|
public abstract RoutablePoint.Builder name(@Nullable java.lang.String name)
name - routable point namepublic abstract RoutablePoint.Builder rawCoordinate(@Nullable double[] coordinate)
coordinate - raw coordinates that represent the routable point locationpublic abstract RoutablePoint build()
RoutablePoint object.RoutablePoint using the provided values in this builder