ManagedRuleGroupOverride Class
- java.
lang. Object - com.
azure. resourcemanager. frontdoor. models. ManagedRuleGroupOverride
- com.
public final class ManagedRuleGroupOverride
Defines a managed rule group override setting.
Constructor Summary
Constructor | Description |
---|---|
ManagedRuleGroupOverride() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Managed |
exclusions()
Get the exclusions property: Describes the exclusions that are applied to all rules in the group. |
String |
ruleGroupName()
Get the rule |
List<Managed |
rules()
Get the rules property: List of rules that will be disabled. |
void |
validate()
Validates the instance. |
Managed |
withExclusions(List<ManagedRuleExclusion> exclusions)
Set the exclusions property: Describes the exclusions that are applied to all rules in the group. |
Managed |
withRuleGroupName(String ruleGroupName)
Set the rule |
Managed |
withRules(List<ManagedRuleOverride> rules)
Set the rules property: List of rules that will be disabled. |
Methods inherited from java.lang.Object
Constructor Details
ManagedRuleGroupOverride
public ManagedRuleGroupOverride()
Creates an instance of ManagedRuleGroupOverride class.
Method Details
exclusions
public List
Get the exclusions property: Describes the exclusions that are applied to all rules in the group.
Returns:
ruleGroupName
public String ruleGroupName()
Get the ruleGroupName property: Describes the managed rule group to override.
Returns:
rules
public List
Get the rules property: List of rules that will be disabled. If none specified, all rules in the group will be disabled.
Returns:
validate
public void validate()
Validates the instance.
withExclusions
public ManagedRuleGroupOverride withExclusions(List
Set the exclusions property: Describes the exclusions that are applied to all rules in the group.
Parameters:
Returns:
withRuleGroupName
public ManagedRuleGroupOverride withRuleGroupName(String ruleGroupName)
Set the ruleGroupName property: Describes the managed rule group to override.
Parameters:
Returns:
withRules
public ManagedRuleGroupOverride withRules(List
Set the rules property: List of rules that will be disabled. If none specified, all rules in the group will be disabled.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for