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

public final class Severity extends com.azure.core.util.ExpandableStringEnum<Severity>
Severity of the validation error.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Severity
    Static value Error for Severity.
    static final Severity
    Static value Message 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, hashCode, toString, values

    Methods inherited from class java.lang.Object

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

    • MESSAGE

      public static final Severity MESSAGE
      Static value Message for Severity.
    • WARNING

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

      public static final Severity ERROR
      Static value Error 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.