public final class ManagedRulesDefinition extends Object
| Constructor and Description |
|---|
ManagedRulesDefinition() |
| Modifier and Type | Method and Description |
|---|---|
List<OwaspCrsExclusionEntry> |
exclusions()
Get the exclusions property: The Exclusions that are applied on the policy.
|
List<ManagedRuleSet> |
managedRuleSets()
Get the managedRuleSets property: The managed rule sets that are associated with the policy.
|
void |
validate()
Validates the instance.
|
ManagedRulesDefinition |
withExclusions(List<OwaspCrsExclusionEntry> exclusions)
Set the exclusions property: The Exclusions that are applied on the policy.
|
ManagedRulesDefinition |
withManagedRuleSets(List<ManagedRuleSet> managedRuleSets)
Set the managedRuleSets property: The managed rule sets that are associated with the policy.
|
public List<OwaspCrsExclusionEntry> exclusions()
public ManagedRulesDefinition withExclusions(List<OwaspCrsExclusionEntry> exclusions)
exclusions - the exclusions value to set.public List<ManagedRuleSet> managedRuleSets()
public ManagedRulesDefinition withManagedRuleSets(List<ManagedRuleSet> managedRuleSets)
managedRuleSets - the managedRuleSets value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.