java.lang.Object
com.azure.core.util.ExpandableStringEnum<Severity>
com.azure.resourcemanager.alertsmanagement.models.Severity

public final class Severity extends com.azure.core.util.ExpandableStringEnum<Severity>
Defines values for Severity.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Severity
    Static value Sev0 for Severity.
    static final Severity
    Static value Sev1 for Severity.
    static final Severity
    Static value Sev2 for Severity.
    static final Severity
    Static value Sev3 for Severity.
    static final Severity
    Static value Sev4 for Severity.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Severity
    Creates or finds a Severity from its string representation.
    Gets known Severity values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • SEV0

      public static final Severity SEV0
      Static value Sev0 for Severity.
    • SEV1

      public static final Severity SEV1
      Static value Sev1 for Severity.
    • SEV2

      public static final Severity SEV2
      Static value Sev2 for Severity.
    • SEV3

      public static final Severity SEV3
      Static value Sev3 for Severity.
    • SEV4

      public static final Severity SEV4
      Static value Sev4 for Severity.
  • Constructor Details

    • Severity

      public Severity()
  • Method Details

    • fromString

      public static Severity fromString(String name)
      Creates or finds a Severity from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding Severity.
    • values

      public static Collection<Severity> values()
      Gets known Severity values.
      Returns:
      known Severity values.