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 SummaryEnum Constants Enum Constant Description OnsOptimizedPrettyJsonRaw
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAlarmDetails.MessageFormatcreate(String key)StringgetValue()static CreateAlarmDetails.MessageFormatvalueOf(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- 
Rawpublic static final CreateAlarmDetails.MessageFormat Raw 
 - 
PrettyJsonpublic static final CreateAlarmDetails.MessageFormat PrettyJson 
 - 
OnsOptimizedpublic static final CreateAlarmDetails.MessageFormat OnsOptimized 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static CreateAlarmDetails.MessageFormat create(String key) 
 
- 
 
-