public static enum UpdateAlarmDetails.MessageFormat extends Enum<UpdateAlarmDetails.MessageFormat> implements BmcEnum
The format to use for notification messages sent from this alarm. The formats are: * RAW
- Raw JSON blob. Default value. * PRETTY_JSON
: JSON with new lines and indents.
ONS_OPTIMIZED
: Simplified, user-friendly layout. Applies only to messages sent
through the Notifications service to the following subscription types: Email.Enum Constant and Description |
---|
OnsOptimized |
PrettyJson |
Raw |
Modifier and Type | Method and Description |
---|---|
static UpdateAlarmDetails.MessageFormat |
create(String key) |
String |
getValue() |
static UpdateAlarmDetails.MessageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateAlarmDetails.MessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateAlarmDetails.MessageFormat Raw
public static final UpdateAlarmDetails.MessageFormat PrettyJson
public static final UpdateAlarmDetails.MessageFormat OnsOptimized
public static UpdateAlarmDetails.MessageFormat[] values()
for (UpdateAlarmDetails.MessageFormat c : UpdateAlarmDetails.MessageFormat.values()) System.out.println(c);
public static UpdateAlarmDetails.MessageFormat 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 static UpdateAlarmDetails.MessageFormat create(String key)
Copyright © 2016–2023. All rights reserved.