@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum BrokerState extends Enum<BrokerState>
The broker's status.
Enum Constant and Description |
---|
CREATION_FAILED |
CREATION_IN_PROGRESS |
CRITICAL_ACTION_REQUIRED |
DELETION_IN_PROGRESS |
REBOOT_IN_PROGRESS |
REPLICA |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static BrokerState |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static BrokerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerState CREATION_IN_PROGRESS
public static final BrokerState CREATION_FAILED
public static final BrokerState DELETION_IN_PROGRESS
public static final BrokerState RUNNING
public static final BrokerState REBOOT_IN_PROGRESS
public static final BrokerState CRITICAL_ACTION_REQUIRED
public static final BrokerState REPLICA
public static BrokerState[] values()
for (BrokerState c : BrokerState.values()) System.out.println(c);
public static BrokerState 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 String toString()
toString
in class Enum<BrokerState>
public static BrokerState fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.