public static enum AlterBrokerHealthSpec.StatusEnum extends Enum<AlterBrokerHealthSpec.StatusEnum>
Enum Constant and Description |
---|
DEGRADED
Mark the given broker's status as degraded.
|
HEALTHY
Mark the given broker's status as healthy.
|
Modifier and Type | Method and Description |
---|---|
byte |
id() |
static AlterBrokerHealthSpec.StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlterBrokerHealthSpec.StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlterBrokerHealthSpec.StatusEnum DEGRADED
public static final AlterBrokerHealthSpec.StatusEnum HEALTHY
public static AlterBrokerHealthSpec.StatusEnum[] values()
for (AlterBrokerHealthSpec.StatusEnum c : AlterBrokerHealthSpec.StatusEnum.values()) System.out.println(c);
public static AlterBrokerHealthSpec.StatusEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte id()