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