public static final class Client.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Constructor.
|
Builder(Client client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Client.Builder |
addClient(java.lang.String clientName,
java.util.Map<java.lang.String,java.lang.Object> properties)
Add information about a client..
|
Client.Builder |
addClient(java.lang.String clientName,
java.lang.String property,
java.lang.Object value)
Add information about a client using a format of property and name.
|
Client.Builder |
addTopLevel(java.lang.String property,
java.lang.Object value)
Add top level client information.
|
Client |
build()
Builds the
client. |
public Client.Builder addClient(java.lang.String clientName, java.lang.String property, java.lang.Object value)
clientName - the client name.property - the property.value - the value of the property for that client.public Client.Builder addClient(java.lang.String clientName, java.util.Map<java.lang.String,java.lang.Object> properties)
clientName - the client name.properties - the properties of the client.public Client.Builder addTopLevel(java.lang.String property, java.lang.Object value)
property - the property.value - the value of the property.