Enum Verdict

java.lang.Object
java.lang.Enum<Verdict>
software.amazon.awssdk.services.cloudwatchomni.model.Verdict
All Implemented Interfaces:
Serializable, Comparable<Verdict>

@Generated("software.amazon.awssdk:codegen") public enum Verdict extends Enum<Verdict>

The outcome of checking a run against its rule. Runs with a rule only.

  • Enum Constant Details

    • PASSED

      public static final Verdict PASSED
    • FAILED

      public static final Verdict FAILED
    • DID_NOT_FINISH

      public static final Verdict DID_NOT_FINISH
    • UNKNOWN_TO_SDK_VERSION

      public static final Verdict UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

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

      public static Verdict 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Verdict>
    • fromValue

      public static Verdict fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      Verdict corresponding to the value
    • knownValues

      public static Set<Verdict> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known Verdicts