Class Severity
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Severity>
com.azure.resourcemanager.datamigration.models.Severity
Severity of the validation error.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Severity
fromString
(String name) Creates or finds a Severity from its string representation.static Collection<Severity>
values()
Gets known Severity values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
MESSAGE
Static value Message for Severity. -
WARNING
Static value Warning for Severity. -
ERROR
Static value Error for Severity.
-
-
Constructor Details
-
Severity
Deprecated.Use thefromString(String)
factory method.Creates a new instance of Severity value.
-
-
Method Details
-
fromString
Creates or finds a Severity from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Severity.
-
values
Gets known Severity values.- Returns:
- known Severity values.
-
fromString(String)
factory method.