Enum 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.

    • Method Detail

      • values

        public 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
      • valueOf

        public 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