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