RuleType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. RuleType
- com.
- com.
public final class RuleType
extends ExpandableStringEnum<RuleType>
The rule type.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rule |
BASELINE_EXPECTED
Baseline |
|
static final
Rule |
BINARY
Binary. |
|
static final
Rule |
NEGATIVE_LIST
Negative |
|
static final
Rule |
POSITIVE_LIST
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
BaselineExpected.
BINARY
public static final RuleType BINARY
Binary.
NEGATIVE_LIST
public static final RuleType NEGATIVE_LIST
NegativeList.
POSITIVE_LIST
public static final RuleType POSITIVE_LIST
PositiveList.
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: