RuleType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. RuleType
- com.
- com.
public final class RuleType
extends ExpandableStringEnum<RuleType>
SQL Vulnerability Assessment rule type.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rule |
BASELINE_EXPECTED
Static value Baseline |
|
static final
Rule |
BINARY
Static value Binary for Rule |
|
static final
Rule |
NEGATIVE_LIST
Static value Negative |
|
static final
Rule |
POSITIVE_LIST
Static value Positive |
Constructor Summary
| Constructor | Description |
|---|---|
| RuleType() |
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
BASELINE_EXPECTED
public static final RuleType BASELINE_EXPECTED
Static value BaselineExpected for RuleType.
BINARY
public static final RuleType BINARY
Static value Binary for RuleType.
NEGATIVE_LIST
public static final RuleType NEGATIVE_LIST
Static value NegativeList for RuleType.
POSITIVE_LIST
public static final RuleType POSITIVE_LIST
Static value PositiveList for RuleType.
Constructor Details
RuleType
@Deprecated
public RuleType()
Deprecated
Creates a new instance of RuleType value.
Method Details
fromString
public static RuleType fromString(String name)
Creates or finds a RuleType from its string representation.
Parameters:
Returns:
values
public static Collection<RuleType> values()
Gets known RuleType values.
Returns: