Class CountryBorderCrossingAlert.Builder
-
- All Implemented Interfaces:
public final class CountryBorderCrossingAlert.BuilderUse to create a new instance.
-
-
Constructor Summary
Constructors Constructor Description CountryBorderCrossingAlert.Builder(Point coordinate, Double distance)
-
Method Summary
Modifier and Type Method Description final CountryBorderCrossingAlert.BuilderalertGeometry(RouteAlertGeometry alertGeometry)Add optional geometry if the alert has a length. final CountryBorderCrossingAlert.Builderfrom(CountryBorderCrossingAdminInfo from)Add the origin administrative info when crossing the country border. final CountryBorderCrossingAlert.Builderto(CountryBorderCrossingAdminInfo to)Add the destination administrative info when crossing the country border. final CountryBorderCrossingAlertbuild()Build the object instance.
-
-
-
Constructor Detail
-
CountryBorderCrossingAlert.Builder
CountryBorderCrossingAlert.Builder(Point coordinate, Double distance)
-
-
Method Detail
-
alertGeometry
final CountryBorderCrossingAlert.Builder alertGeometry(RouteAlertGeometry alertGeometry)
Add optional geometry if the alert has a length.
-
from
final CountryBorderCrossingAlert.Builder from(CountryBorderCrossingAdminInfo from)
Add the origin administrative info when crossing the country border.
-
to
final CountryBorderCrossingAlert.Builder to(CountryBorderCrossingAdminInfo to)
Add the destination administrative info when crossing the country border.
-
build
final CountryBorderCrossingAlert build()
Build the object instance.
-
-