Enum Class AlterConfigOp.OpType

java.lang.Object
java.lang.Enum<AlterConfigOp.OpType>
org.apache.kafka.clients.admin.AlterConfigOp.OpType
All Implemented Interfaces:
Serializable, Comparable<AlterConfigOp.OpType>, Constable
Enclosing class:
AlterConfigOp

public static enum AlterConfigOp.OpType extends Enum<AlterConfigOp.OpType>
  • Enum Constant Details

    • SET

      public static final AlterConfigOp.OpType SET
      Set the value of the configuration entry.
    • DELETE

      public static final AlterConfigOp.OpType DELETE
      Revert the configuration entry to the default value (possibly null).
    • APPEND

      public static final AlterConfigOp.OpType APPEND
      (For list-type configuration entries only.) Add the specified values to the current value of the configuration entry. If the configuration value has not been set, adds to the default value.
    • SUBTRACT

      public static final AlterConfigOp.OpType SUBTRACT
      (For list-type configuration entries only.) Removes the specified values from the current value of the configuration entry. It is legal to remove values that are not currently in the configuration entry. Removing all entries from the current configuration value leaves an empty list and does NOT revert to the default value of the entry.
  • Method Details

    • values

      public static AlterConfigOp.OpType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AlterConfigOp.OpType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • id

      public byte id()
    • forId

      public static AlterConfigOp.OpType forId(byte id)