public static enum CreateAlarmDetails.MessageFormat extends Enum<CreateAlarmDetails.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 CreateAlarmDetails.MessageFormat |
create(String key) |
String |
getValue() |
static CreateAlarmDetails.MessageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateAlarmDetails.MessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateAlarmDetails.MessageFormat Raw
public static final CreateAlarmDetails.MessageFormat PrettyJson
public static final CreateAlarmDetails.MessageFormat OnsOptimized
public static CreateAlarmDetails.MessageFormat[] values()
for (CreateAlarmDetails.MessageFormat c : CreateAlarmDetails.MessageFormat.values()) System.out.println(c);
public static CreateAlarmDetails.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 CreateAlarmDetails.MessageFormat create(String key)
Copyright © 2016–2023. All rights reserved.