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