public final class ManagedRuleOverride extends Object
| Constructor and Description |
|---|
ManagedRuleOverride() |
| Modifier and Type | Method and Description |
|---|---|
String |
ruleId()
Get the ruleId property: Identifier for the managed rule.
|
ManagedRuleEnabledState |
state()
Get the state property: The state of the managed rule.
|
void |
validate()
Validates the instance.
|
ManagedRuleOverride |
withRuleId(String ruleId)
Set the ruleId property: Identifier for the managed rule.
|
ManagedRuleOverride |
withState(ManagedRuleEnabledState state)
Set the state property: The state of the managed rule.
|
public String ruleId()
public ManagedRuleOverride withRuleId(String ruleId)
ruleId - the ruleId value to set.public ManagedRuleEnabledState state()
public ManagedRuleOverride withState(ManagedRuleEnabledState state)
state - the state value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.