Severity Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. Severity
- com.
- com.
public final class Severity
extends ExpandableStringEnum<Severity>
The severity level of the assessment.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Severity |
CRITICAL
Critical. |
| static final Severity |
HIGH
High. |
| static final Severity |
LOW
Low. |
| static final Severity |
MEDIUM
Medium. |
Constructor Summary
| Constructor | Description |
|---|---|
| Severity() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Severity value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Severity |
fromString(String name)
Creates or finds a Severity from its string representation. |
| static Collection<Severity> |
values()
Gets known Severity values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CRITICAL
public static final Severity CRITICAL
Critical.
HIGH
public static final Severity HIGH
High.
LOW
public static final Severity LOW
Low.
MEDIUM
public static final Severity MEDIUM
Medium.
Constructor Details
Severity
@Deprecated
public Severity()
Deprecated
Creates a new instance of Severity value.
Method Details
fromString
public static Severity fromString(String name)
Creates or finds a Severity from its string representation.
Parameters:
Returns:
values
public static Collection<Severity> values()
Gets known Severity values.
Returns: