Package com.oracle.bmc.monitoring.model
Enum Alarm.MessageFormat
- java.lang.Object
- 
- java.lang.Enum<Alarm.MessageFormat>
- 
- com.oracle.bmc.monitoring.model.Alarm.MessageFormat
 
 
- 
- All Implemented Interfaces:
- BmcEnum,- Serializable,- Comparable<Alarm.MessageFormat>
 - Enclosing class:
- Alarm
 
 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 SummaryEnum Constants Enum Constant Description OnsOptimizedPrettyJsonRawUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Alarm.MessageFormatcreate(String key)StringgetValue()static Alarm.MessageFormatvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
Rawpublic static final Alarm.MessageFormat Raw 
 - 
PrettyJsonpublic static final Alarm.MessageFormat PrettyJson 
 - 
OnsOptimizedpublic static final Alarm.MessageFormat OnsOptimized 
 - 
UnknownEnumValuepublic static final Alarm.MessageFormat UnknownEnumValue This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 
- 
 - 
Method Detail- 
valuespublic static Alarm.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 (Alarm.MessageFormat c : Alarm.MessageFormat.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Alarm.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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static Alarm.MessageFormat create(String key) 
 
- 
 
-