Enum Class EmgVerb

java.lang.Object
java.lang.Enum<EmgVerb>
com.eqixiac.equinix.messaging.EmgVerb
All Implemented Interfaces:
Serializable, Comparable<EmgVerb>, Constable

public enum EmgVerb extends Enum<EmgVerb>
The action an EMG notification reports (Task.Verb). Spec values: Create, Update, Delete; anything else reads as UNKNOWN.
  • Enum Constant Details

    • CREATE

      public static final EmgVerb CREATE
      A resource was created.
    • UPDATE

      public static final EmgVerb UPDATE
      A resource was updated (the usual verb for notifications).
    • DELETE

      public static final EmgVerb DELETE
      A resource was deleted.
    • UNKNOWN

      public static final EmgVerb UNKNOWN
      A value this SDK version does not recognise.
  • Method Details

    • values

      public static EmgVerb[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EmgVerb valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromWire

      public static EmgVerb fromWire(String value)
      Case- and punctuation-insensitive lookup of a wire value.
      Parameters:
      value - the wire value
      Returns:
      the constant, UNKNOWN if unrecognised, null if value is null