public enum FailedItemErrorCode extends java.lang.Enum<FailedItemErrorCode>
Enum Constant and Description |
---|
ACCESS_DENIED |
DUPLICATE_ARN |
INTERNAL_ERROR |
INVALID_ARN |
ITEM_DOES_NOT_EXIST |
LIMIT_EXCEEDED |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static FailedItemErrorCode |
fromValue(java.lang.String value)
Use this in place of valueOf.
|
java.lang.String |
toString() |
static FailedItemErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FailedItemErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailedItemErrorCode INVALID_ARN
public static final FailedItemErrorCode DUPLICATE_ARN
public static final FailedItemErrorCode ITEM_DOES_NOT_EXIST
public static final FailedItemErrorCode ACCESS_DENIED
public static final FailedItemErrorCode LIMIT_EXCEEDED
public static final FailedItemErrorCode INTERNAL_ERROR
public static FailedItemErrorCode[] values()
for (FailedItemErrorCode c : FailedItemErrorCode.values()) System.out.println(c);
public static FailedItemErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FailedItemErrorCode>
public static FailedItemErrorCode fromValue(java.lang.String value)
value
- real value