@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-15T10:03:45.290Z") @Stability(value=Experimental) public enum MessageLanguage extends Enum<MessageLanguage>
Used for error and logging messages for end users. The default behavior if not specified is English.
Example:
Portfolio.Builder.create(this, "MyFirstPortfolio")
.displayName("MyFirstPortfolio")
.providerName("MyTeam")
.description("Portfolio for a project")
.messageLanguage(MessageLanguage.EN)
.build();
| Enum Constant and Description |
|---|
EN
(experimental) English.
|
JP
(experimental) Japanese.
|
ZH
(experimental) Chinese.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final MessageLanguage EN
@Stability(value=Experimental) public static final MessageLanguage JP
@Stability(value=Experimental) public static final MessageLanguage ZH
public static MessageLanguage[] values()
for (MessageLanguage c : MessageLanguage.values()) System.out.println(c);
public static MessageLanguage 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.