public static enum Alarm.MessageFormat extends Enum<Alarm.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 |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static Alarm.MessageFormat |
create(String key) |
String |
getValue() |
static Alarm.MessageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alarm.MessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alarm.MessageFormat Raw
public static final Alarm.MessageFormat PrettyJson
public static final Alarm.MessageFormat OnsOptimized
public static final Alarm.MessageFormat UnknownEnumValue
public static Alarm.MessageFormat[] values()
for (Alarm.MessageFormat c : Alarm.MessageFormat.values()) System.out.println(c);
public static Alarm.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 Alarm.MessageFormat create(String key)
Copyright © 2016–2024. All rights reserved.