| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract Admin |
build()
Build a new
Admin object. |
abstract Admin.Builder |
countryCode(java.lang.String countryCode)
The 2 character ISO 3166-1 alpha-2 code that applies to a country boundary.
|
abstract Admin.Builder |
countryCodeAlpha3(java.lang.String countryCodeAlpha3)
The 3 character ISO 3166-1 alpha-3 code that applies to a country boundary.
|
T |
unrecognizedJsonProperties(java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
Use this method to add parameters which are not present in the model yet but are supported
on the Directions API side in the response.
|
public abstract Admin.Builder countryCode(@Nullable java.lang.String countryCode)
countryCode - 2 character ISO 3166-1 alpha-2 codepublic abstract Admin.Builder countryCodeAlpha3(@Nullable java.lang.String countryCodeAlpha3)
countryCodeAlpha3 - 3 character ISO 3166-1 alpha-3 codepublic abstract Admin build()
Admin object.Admin using the provided values in this builder@NonNull
public T unrecognizedJsonProperties(@Nullable
java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
unrecognizedProperties - parameters to add to request