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