public class Config
extends java.lang.Object
The configuration data class.
In most use cases, appropriate instantiation of the Client
will create an
appropriate configuration. However in some advanced use cases, one or more custom
configurations may be created and configured appropriately.
There are several supported idioms for usage of custom configurations, in order to provide maximum flexibility to our clients. They are:
Constructor and Description |
---|
Config(java.lang.String apiKey)
Creates a mutable configuration object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiKey() |
java.net.URI |
getServiceRoot() |
void |
setApiKey(java.lang.String apiKey) |
void |
setServiceRoot(java.net.URI serviceRoot) |