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