Package io.vertx.kafka.admin
Class ConfigSynonym
- java.lang.Object
-
- io.vertx.kafka.admin.ConfigSynonym
-
public class ConfigSynonym extends Object
Class representing a configuration synonym of aConfigEntry
-
-
Constructor Summary
Constructors Constructor Description ConfigSynonym()
ConstructorConfigSynonym(JsonObject json)
Constructor (from JSON representation)ConfigSynonym(String name, String value, org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
getSource()
String
getValue()
ConfigSynonym
setName(String name)
Set the name of this configurationConfigSynonym
setSource(org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source)
Set the source of this configurationConfigSynonym
setValue(String value)
Set the value of this configuration, which may be null if the configuration is sensitiveJsonObject
toJson()
Convert object to JSON representationString
toString()
-
-
-
Constructor Detail
-
ConfigSynonym
public ConfigSynonym()
Constructor
-
ConfigSynonym
public ConfigSynonym(String name, String value, org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source)
Constructor- Parameters:
name
- the name of this configurationvalue
- the value of this configuration, which may be null if the configuration is sensitivesource
- the source of this configuration
-
ConfigSynonym
public ConfigSynonym(JsonObject json)
Constructor (from JSON representation)- Parameters:
json
- JSON representation
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name of this configuration
-
setName
public ConfigSynonym setName(String name)
Set the name of this configuration- Parameters:
name
- the name of this configuration- Returns:
- current instance of the class to be fluent
-
getValue
public String getValue()
- Returns:
- the value of this configuration, which may be null if the configuration is sensitive
-
setValue
public ConfigSynonym setValue(String value)
Set the value of this configuration, which may be null if the configuration is sensitive- Parameters:
value
- the value of this configuration, which may be null if the configuration is sensitive- Returns:
- current instance of the class to be fluent
-
getSource
public org.apache.kafka.clients.admin.ConfigEntry.ConfigSource getSource()
- Returns:
- the source of this configuration
-
setSource
public ConfigSynonym setSource(org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source)
Set the source of this configuration- Parameters:
source
- the source of this configuration- Returns:
- current instance of the class to be fluent
-
toJson
public JsonObject toJson()
Convert object to JSON representation- Returns:
- JSON representation
-
-