public static enum BrokerHealthStatusResult.StatusEnum extends Enum<BrokerHealthStatusResult.StatusEnum>
| Enum Constant and Description |
|---|
DEGRADEDBroker has degraded health. |
HEALTHYBroker is healthy. |
UNKNOWNFor forwards-compatibility, any status value that is not recognized by this version of the client will fall back to this. |
| Modifier and Type | Method and Description |
|---|---|
byte | id() |
static BrokerHealthStatusResult.StatusEnum | valueOf(String name)Returns the enum constant of this type with the specified name. |
static BrokerHealthStatusResult.StatusEnum[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final BrokerHealthStatusResult.StatusEnum UNKNOWN
public static final BrokerHealthStatusResult.StatusEnum DEGRADED
public static final BrokerHealthStatusResult.StatusEnum HEALTHY
public static BrokerHealthStatusResult.StatusEnum[] values()
for (BrokerHealthStatusResult.StatusEnum c : BrokerHealthStatusResult.StatusEnum.values()) System.out.println(c);
public static BrokerHealthStatusResult.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()