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