Class ConfigSynonym

java.lang.Object
io.vertx.kafka.admin.ConfigSynonym

public class ConfigSynonym extends Object
Class representing a configuration synonym of a ConfigEntry
  • 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 configuration
      value - the value of this configuration, which may be null if the configuration is sensitive
      source - the source of this configuration
    • ConfigSynonym

      public ConfigSynonym(JsonObject json)
      Constructor (from JSON representation)
      Parameters:
      json - JSON representation
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object