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