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