Package io.vertx.kafka.admin
Class ConfigSynonym
java.lang.Object
io.vertx.kafka.admin.ConfigSynonym
Class representing a configuration synonym of a
ConfigEntry-
Constructor Summary
ConstructorsConstructorDescriptionConstructorConfigSynonym(JsonObject json) Constructor (from JSON representation)ConfigSynonym(String name, String value, org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetName()org.apache.kafka.clients.admin.ConfigEntry.ConfigSourcegetValue()Set the name of this configurationsetSource(org.apache.kafka.clients.admin.ConfigEntry.ConfigSource source) Set the source of this configurationSet the value of this configuration, which may be null if the configuration is sensitivetoJson()Convert object to JSON representationtoString()
-
Constructor Details
-
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
Constructor (from JSON representation)- Parameters:
json- JSON representation
-
-
Method Details
-
getName
- Returns:
- the name of this configuration
-
setName
Set the name of this configuration- Parameters:
name- the name of this configuration- Returns:
- current instance of the class to be fluent
-
getValue
- Returns:
- the value of this configuration, which may be null if the configuration is sensitive
-
setValue
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
Set the source of this configuration- Parameters:
source- the source of this configuration- Returns:
- current instance of the class to be fluent
-
toJson
Convert object to JSON representation- Returns:
- JSON representation
-
toString
-