Enum StateReasonCode
- java.lang.Object
-
- java.lang.Enum<StateReasonCode>
-
- software.amazon.awssdk.services.lambda.model.StateReasonCode
-
- All Implemented Interfaces:
Serializable
,Comparable<StateReasonCode>
@Generated("software.amazon.awssdk:codegen") public enum StateReasonCode extends Enum<StateReasonCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
IDLE
public static final StateReasonCode IDLE
-
CREATING
public static final StateReasonCode CREATING
-
RESTORING
public static final StateReasonCode RESTORING
-
ENI_LIMIT_EXCEEDED
public static final StateReasonCode ENI_LIMIT_EXCEEDED
-
INSUFFICIENT_ROLE_PERMISSIONS
public static final StateReasonCode INSUFFICIENT_ROLE_PERMISSIONS
-
INVALID_CONFIGURATION
public static final StateReasonCode INVALID_CONFIGURATION
-
INTERNAL_ERROR
public static final StateReasonCode INTERNAL_ERROR
-
SUBNET_OUT_OF_IP_ADDRESSES
public static final StateReasonCode SUBNET_OUT_OF_IP_ADDRESSES
-
INVALID_SUBNET
public static final StateReasonCode INVALID_SUBNET
-
INVALID_SECURITY_GROUP
public static final StateReasonCode INVALID_SECURITY_GROUP
-
IMAGE_DELETED
public static final StateReasonCode IMAGE_DELETED
-
IMAGE_ACCESS_DENIED
public static final StateReasonCode IMAGE_ACCESS_DENIED
-
INVALID_IMAGE
public static final StateReasonCode INVALID_IMAGE
-
KMS_KEY_ACCESS_DENIED
public static final StateReasonCode KMS_KEY_ACCESS_DENIED
-
KMS_KEY_NOT_FOUND
public static final StateReasonCode KMS_KEY_NOT_FOUND
-
INVALID_STATE_KMS_KEY
public static final StateReasonCode INVALID_STATE_KMS_KEY
-
DISABLED_KMS_KEY
public static final StateReasonCode DISABLED_KMS_KEY
-
EFSIO_ERROR
public static final StateReasonCode EFSIO_ERROR
-
EFS_MOUNT_CONNECTIVITY_ERROR
public static final StateReasonCode EFS_MOUNT_CONNECTIVITY_ERROR
-
EFS_MOUNT_FAILURE
public static final StateReasonCode EFS_MOUNT_FAILURE
-
EFS_MOUNT_TIMEOUT
public static final StateReasonCode EFS_MOUNT_TIMEOUT
-
INVALID_RUNTIME
public static final StateReasonCode INVALID_RUNTIME
-
INVALID_ZIP_FILE_EXCEPTION
public static final StateReasonCode INVALID_ZIP_FILE_EXCEPTION
-
FUNCTION_ERROR
public static final StateReasonCode FUNCTION_ERROR
-
UNKNOWN_TO_SDK_VERSION
public static final StateReasonCode UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static StateReasonCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StateReasonCode c : StateReasonCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateReasonCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<StateReasonCode>
-
fromValue
public static StateReasonCode fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value
- real value- Returns:
- StateReasonCode corresponding to the value
-
knownValues
public static Set<StateReasonCode> knownValues()
Use this in place ofvalues()
to return aSet
of all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION
.- Returns:
- a
Set
of knownStateReasonCode
s
-
-