java.lang.Object
com.azure.core.util.ExpandableStringEnum<Severity>
com.azure.resourcemanager.network.models.Severity
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class Severity extends com.azure.core.util.ExpandableStringEnum<Severity>
The severity of the issue.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Severity
    Static value Error for Severity.
    static final Severity
    Static value Warning for Severity.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • 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, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

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

    • ERROR

      public static final Severity ERROR
      Static value Error for Severity.
    • WARNING

      public static final Severity WARNING
      Static value Warning for Severity.
  • Constructor Details

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