public class ConfigSynonym extends Object
ConfigEntry
Constructor and Description |
---|
ConfigSynonym()
Constructor
|
ConfigSynonym(JsonObject json)
Constructor (from JSON representation)
|
ConfigSynonym(String name,
String value,
org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
org.apache.kafka.clients.admin.ConfigEntry.ConfigSource |
getSource() |
String |
getValue() |
ConfigSynonym |
setName(String name)
Set the name of this configuration
|
ConfigSynonym |
setSource(org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source)
Set the source of this configuration
|
ConfigSynonym |
setValue(String value)
Set the value of this configuration, which may be null if the configuration is sensitive
|
JsonObject |
toJson()
Convert object to JSON representation
|
String |
toString() |
public ConfigSynonym()
public ConfigSynonym(String name, String value, org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source)
name
- the name of this configurationvalue
- the value of this configuration, which may be null if the configuration is sensitivesource
- the source of this configurationpublic ConfigSynonym(JsonObject json)
json
- JSON representationpublic String getName()
public ConfigSynonym setName(String name)
name
- the name of this configurationpublic String getValue()
public ConfigSynonym setValue(String value)
value
- the value of this configuration, which may be null if the configuration is sensitivepublic org.apache.kafka.clients.admin.ConfigEntry.ConfigSource getSource()
public ConfigSynonym setSource(org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source)
source
- the source of this configurationpublic JsonObject toJson()
Copyright © 2021 Eclipse. All rights reserved.