@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-07-09T19:17:58.053Z") @Stability(value=Experimental) public enum AcceptLanguage extends Enum<AcceptLanguage>
| Enum Constant and Description |
|---|
EN
(experimental) English.
|
JP
(experimental) Japanese.
|
ZH
(experimental) Chinese.
|
| Modifier and Type | Method and Description |
|---|---|
static AcceptLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcceptLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final AcceptLanguage EN
@Stability(value=Experimental) public static final AcceptLanguage JP
@Stability(value=Experimental) public static final AcceptLanguage ZH
public static AcceptLanguage[] values()
for (AcceptLanguage c : AcceptLanguage.values()) System.out.println(c);
public static AcceptLanguage 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 nullCopyright © 2021. All rights reserved.