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