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