public static enum UpdateAlarmDetails.MessageFormat extends Enum<UpdateAlarmDetails.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 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–2024. All rights reserved.