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