public final class ConfigRecord
extends java.lang.Object
| Constructor and Description |
|---|
ConfigRecord()
Creates a new instance of
ConfigRecord. |
ConfigRecord(PropertyKey key,
java.lang.String source,
java.lang.String value)
Creates a new instance of
ConfigRecord. |
| Modifier and Type | Method and Description |
|---|---|
PropertyKey |
getKey() |
java.lang.String |
getSource() |
java.util.Optional<java.lang.String> |
getValue() |
ConfigRecord |
setKey(PropertyKey key) |
ConfigRecord |
setSource(java.lang.String source) |
ConfigRecord |
setValue(java.lang.String value) |
public ConfigRecord()
ConfigRecord.public ConfigRecord(PropertyKey key, java.lang.String source, @Nullable java.lang.String value)
ConfigRecord.key - the property keysource - the source of the valuevalue - the property valuepublic PropertyKey getKey()
public java.lang.String getSource()
public java.util.Optional<java.lang.String> getValue()
public ConfigRecord setKey(PropertyKey key)
key - the property keypublic ConfigRecord setSource(java.lang.String source)
source - the source to usepublic ConfigRecord setValue(@Nullable java.lang.String value)
value - the value to useCopyright © 2020. All Rights Reserved.