@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum AlertManagerDefinitionStatusCode extends Enum<AlertManagerDefinitionStatusCode>
State of an AlertManagerDefinition
.
Enum Constant and Description |
---|
ACTIVE |
CREATING |
CREATION_FAILED |
DELETING |
UPDATE_FAILED |
UPDATING |
Modifier and Type | Method and Description |
---|---|
static AlertManagerDefinitionStatusCode |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static AlertManagerDefinitionStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertManagerDefinitionStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertManagerDefinitionStatusCode CREATING
public static final AlertManagerDefinitionStatusCode ACTIVE
public static final AlertManagerDefinitionStatusCode UPDATING
public static final AlertManagerDefinitionStatusCode DELETING
public static final AlertManagerDefinitionStatusCode CREATION_FAILED
public static final AlertManagerDefinitionStatusCode UPDATE_FAILED
public static AlertManagerDefinitionStatusCode[] values()
for (AlertManagerDefinitionStatusCode c : AlertManagerDefinitionStatusCode.values()) System.out.println(c);
public static AlertManagerDefinitionStatusCode 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<AlertManagerDefinitionStatusCode>
public static AlertManagerDefinitionStatusCode fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.