public enum LanguageCode extends java.lang.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(java.lang.String value)
Use this in place of valueOf.
|
java.lang.String |
toString() |
static LanguageCode |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<LanguageCode>
public static LanguageCode fromValue(java.lang.String value)
value
- real valueCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.