RuleSeverity Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. RuleSeverity
- com.
- com.
public final class RuleSeverity
extends ExpandableStringEnum<RuleSeverity>
SQL Vulnerability Assessment rule severity.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rule |
HIGH
High. |
|
static final
Rule |
INFORMATIONAL
Informational. |
|
static final
Rule |
LOW
Low. |
|
static final
Rule |
MEDIUM
Medium. |
|
static final
Rule |
OBSOLETE
Obsolete. |
Constructor Summary
| Constructor | Description |
|---|---|
| RuleSeverity() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rule |
fromString(String name)
Creates or finds a Rule |
|
static
Collection<Rule |
values()
Gets known Rule |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HIGH
public static final RuleSeverity HIGH
High.
INFORMATIONAL
public static final RuleSeverity INFORMATIONAL
Informational.
LOW
public static final RuleSeverity LOW
Low.
MEDIUM
public static final RuleSeverity MEDIUM
Medium.
OBSOLETE
public static final RuleSeverity OBSOLETE
Obsolete.
Constructor Details
RuleSeverity
@Deprecated
public RuleSeverity()
Deprecated
Creates a new instance of RuleSeverity value.
Method Details
fromString
public static RuleSeverity fromString(String name)
Creates or finds a RuleSeverity from its string representation.
Parameters:
Returns:
values
public static Collection<RuleSeverity> values()
Gets known RuleSeverity values.
Returns: