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