@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.106Z") @Stability(value=Stable) 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, "Portfolio")
.displayName("MyFirstPortfolio")
.providerName("SCAdmin")
.description("Portfolio for a project")
.messageLanguage(MessageLanguage.EN)
.build();
| Enum Constant and Description |
|---|
EN
English.
|
JP
Japanese.
|
ZH
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=Stable) public static final MessageLanguage EN
@Stability(value=Stable) public static final MessageLanguage JP
@Stability(value=Stable) 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 © 2022. All rights reserved.