public abstract static class NbmapRouteTileVersions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract NbmapRouteTileVersions.Builder |
accessToken(java.lang.String accessToken)
Required to call when this is being built.
|
abstract NbmapRouteTileVersions.Builder |
baseUrl(java.lang.String baseUrl)
Optionally change the APIs base URL to something other then the default Nbmap one.
|
NbmapRouteTileVersions |
build()
This uses the provided parameters set using the
NbmapRouteTileVersions.Builder and first checks that all
values are valid, and creates a new NbmapRouteTileVersions object with the values
provided. |
abstract NbmapRouteTileVersions.Builder |
clientAppName(java.lang.String clientAppName)
Base package name or other simple string identifier.
|
public abstract NbmapRouteTileVersions.Builder accessToken(@NonNull java.lang.String accessToken)
ServicesException will be thrown.accessToken - Nbmap access token, You must have a Nbmap account inorder to use
the Route Tiles APIpublic abstract NbmapRouteTileVersions.Builder baseUrl(@NonNull java.lang.String baseUrl)
baseUrl - base url used as end pointpublic abstract NbmapRouteTileVersions.Builder clientAppName(@NonNull java.lang.String clientAppName)
clientAppName - base package name or other simple string identifierpublic NbmapRouteTileVersions build()
NbmapRouteTileVersions.Builder and first checks that all
values are valid, and creates a new NbmapRouteTileVersions object with the values
provided.com.nbmap.core.exceptions.ServicesException - when a provided parameter is detected to be incorrect