public static enum CreateAlarmDetails.MessageFormat extends Enum<CreateAlarmDetails.MessageFormat> implements BmcEnum
The format to use for alarm notifications. The formats are: * RAW
- Raw JSON blob.
Default value. When the destinations
attribute specifies Streaming
, all alarm
notifications use this format. * PRETTY_JSON
: JSON with new lines and indents.
Available when the destinations
attribute specifies Notifications
only. *
ONS_OPTIMIZED
: Simplified, user-friendly layout. Available when the destinations
attribute specifies Notifications
only. Applies to Email subscription
types only.
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–2024. All rights reserved.