Package org.apache.kafka.clients.admin
Enum Class AlterConfigOp.OpType
- All Implemented Interfaces:
Serializable
,Comparable<AlterConfigOp.OpType>
,Constable
- Enclosing class:
- AlterConfigOp
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(For list-type configuration entries only.) Add the specified values to the current value of the configuration entry.Revert the configuration entry to the default value (possibly null).Set the value of the configuration entry.(For list-type configuration entries only.) Removes the specified values from the current value of the configuration entry. -
Method Summary
Modifier and TypeMethodDescriptionstatic AlterConfigOp.OpType
forId
(byte id) byte
id()
static AlterConfigOp.OpType
Returns the enum constant of this class with the specified name.static AlterConfigOp.OpType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SET
Set the value of the configuration entry. -
DELETE
Revert the configuration entry to the default value (possibly null). -
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
(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
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
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 nameNullPointerException
- if the argument is null
-
id
public byte id() -
forId
-