@NotThreadSafe public final class ConfigProperty extends Object implements Serializable
Constructor and Description |
---|
ConfigProperty()
Creates a new instance of
ConfigProperty . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ConfigProperty |
fromThrift(ConfigProperty configProperty)
Converts a thrift type to a wire type.
|
String |
getName() |
String |
getSource() |
String |
getValue() |
int |
hashCode() |
ConfigProperty |
setName(String name) |
ConfigProperty |
setSource(String source) |
ConfigProperty |
setValue(String value) |
String |
toString() |
ConfigProperty |
toThrift() |
public ConfigProperty()
ConfigProperty
.public String getName()
public String getSource()
public ConfigProperty setName(String name)
name
- the configuration name to usepublic ConfigProperty setSource(String source)
source
- the configuration source to usepublic ConfigProperty setValue(@Nullable String value)
value
- the configuration value to usepublic ConfigProperty toThrift()
public static ConfigProperty fromThrift(ConfigProperty configProperty)
configProperty
- the thrift representation of a configuration propertyCopyright © 2023. All Rights Reserved.