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