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