public static final class KeyValuePair.Builder
extends java.lang.Object
KeyValuePair
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
KeyValuePair . |
Modifier and Type | Method and Description |
---|---|
KeyValuePair |
build() |
KeyValuePair.Builder |
setKey(java.lang.String key)
Key
|
KeyValuePair.Builder |
setValue(java.lang.String value)
Value
|
public Builder()
KeyValuePair
.public KeyValuePair.Builder setKey(java.lang.String key)
key
- New value for the property.public KeyValuePair.Builder setValue(java.lang.String value)
value
- New value for the property.public KeyValuePair build()