Package com.oracle.bmc.monitoring.model
Enum CreateAlarmDetails.MessageFormat
- java.lang.Object
-
- java.lang.Enum<CreateAlarmDetails.MessageFormat>
-
- com.oracle.bmc.monitoring.model.CreateAlarmDetails.MessageFormat
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateAlarmDetails.MessageFormat>
- Enclosing class:
- CreateAlarmDetails
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 Summary
Enum Constants Enum Constant Description OnsOptimized
PrettyJson
Raw
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
Raw
public static final CreateAlarmDetails.MessageFormat Raw
-
PrettyJson
public static final CreateAlarmDetails.MessageFormat PrettyJson
-
OnsOptimized
public static final CreateAlarmDetails.MessageFormat OnsOptimized
-
-
Method Detail
-
values
public static CreateAlarmDetails.MessageFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreateAlarmDetails.MessageFormat c : CreateAlarmDetails.MessageFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateAlarmDetails.MessageFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static CreateAlarmDetails.MessageFormat create(String key)
-
-