@Generated(value="software.amazon.awssdk:codegen") public enum StateReasonCode extends Enum<StateReasonCode>
Enum Constant and Description |
---|
CREATING |
ENI_LIMIT_EXCEEDED |
IDLE |
IMAGE_ACCESS_DENIED |
IMAGE_DELETED |
INSUFFICIENT_ROLE_PERMISSIONS |
INTERNAL_ERROR |
INVALID_CONFIGURATION |
INVALID_IMAGE |
INVALID_SECURITY_GROUP |
INVALID_SUBNET |
RESTORING |
SUBNET_OUT_OF_IP_ADDRESSES |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static StateReasonCode |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<StateReasonCode> |
knownValues()
|
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 ENI_LIMIT_EXCEEDED
public static final StateReasonCode INSUFFICIENT_ROLE_PERMISSIONS
public static final StateReasonCode INVALID_CONFIGURATION
public static final StateReasonCode INTERNAL_ERROR
public static final StateReasonCode SUBNET_OUT_OF_IP_ADDRESSES
public static final StateReasonCode INVALID_SUBNET
public static final StateReasonCode INVALID_SECURITY_GROUP
public static final StateReasonCode IMAGE_DELETED
public static final StateReasonCode IMAGE_ACCESS_DENIED
public static final StateReasonCode INVALID_IMAGE
public static final StateReasonCode UNKNOWN_TO_SDK_VERSION
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 valuepublic static Set<StateReasonCode> knownValues()
values()
to return a Set
of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION
.Set
of known StateReasonCode
sCopyright © 2022. All rights reserved.