| Package | Description |
|---|---|
| com.amazonaws.services.waf.model |
| Modifier and Type | Method and Description |
|---|---|
ActivatedRule |
ActivatedRule.clone() |
ActivatedRule |
WebACLUpdate.getActivatedRule()
The
ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT). |
ActivatedRule |
RuleGroupUpdate.getActivatedRule()
The
ActivatedRule object specifies a Rule that you want to insert or delete, the
priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a
web request matches the Rule (ALLOW, BLOCK, or COUNT). |
ActivatedRule |
ActivatedRule.withAction(WafAction action)
Specifies the action that CloudFront or AWS WAF takes when a web request matches the conditions in the
Rule. |
ActivatedRule |
ActivatedRule.withExcludedRules(Collection<ExcludedRule> excludedRules)
An array of rules to exclude from a rule group.
|
ActivatedRule |
ActivatedRule.withExcludedRules(ExcludedRule... excludedRules)
An array of rules to exclude from a rule group.
|
ActivatedRule |
ActivatedRule.withOverrideAction(WafOverrideAction overrideAction)
Use the
OverrideAction to test your RuleGroup. |
ActivatedRule |
ActivatedRule.withPriority(Integer priority)
Specifies the order in which the
Rules in a WebACL are evaluated. |
ActivatedRule |
ActivatedRule.withRuleId(String ruleId)
The
RuleId for a Rule. |
ActivatedRule |
ActivatedRule.withType(String type)
The rule type, either
REGULAR, as defined by Rule, RATE_BASED, as defined by
RateBasedRule, or GROUP, as defined by RuleGroup. |
ActivatedRule |
ActivatedRule.withType(WafRuleType type)
The rule type, either
REGULAR, as defined by Rule, RATE_BASED, as defined by
RateBasedRule, or GROUP, as defined by RuleGroup. |
| Modifier and Type | Method and Description |
|---|---|
List<ActivatedRule> |
ListActivatedRulesInRuleGroupResult.getActivatedRules()
An array of
ActivatedRules objects. |
List<ActivatedRule> |
WebACL.getRules()
An array that contains the action for each
Rule in a WebACL, the priority of the
Rule, and the ID of the Rule. |
| Modifier and Type | Method and Description |
|---|---|
void |
WebACLUpdate.setActivatedRule(ActivatedRule activatedRule)
The
ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT). |
void |
RuleGroupUpdate.setActivatedRule(ActivatedRule activatedRule)
The
ActivatedRule object specifies a Rule that you want to insert or delete, the
priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a
web request matches the Rule (ALLOW, BLOCK, or COUNT). |
WebACLUpdate |
WebACLUpdate.withActivatedRule(ActivatedRule activatedRule)
The
ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT). |
RuleGroupUpdate |
RuleGroupUpdate.withActivatedRule(ActivatedRule activatedRule)
The
ActivatedRule object specifies a Rule that you want to insert or delete, the
priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a
web request matches the Rule (ALLOW, BLOCK, or COUNT). |
ListActivatedRulesInRuleGroupResult |
ListActivatedRulesInRuleGroupResult.withActivatedRules(ActivatedRule... activatedRules)
An array of
ActivatedRules objects. |
WebACL |
WebACL.withRules(ActivatedRule... rules)
An array that contains the action for each
Rule in a WebACL, the priority of the
Rule, and the ID of the Rule. |
| Modifier and Type | Method and Description |
|---|---|
void |
ListActivatedRulesInRuleGroupResult.setActivatedRules(Collection<ActivatedRule> activatedRules)
An array of
ActivatedRules objects. |
void |
WebACL.setRules(Collection<ActivatedRule> rules)
An array that contains the action for each
Rule in a WebACL, the priority of the
Rule, and the ID of the Rule. |
ListActivatedRulesInRuleGroupResult |
ListActivatedRulesInRuleGroupResult.withActivatedRules(Collection<ActivatedRule> activatedRules)
An array of
ActivatedRules objects. |
WebACL |
WebACL.withRules(Collection<ActivatedRule> rules)
An array that contains the action for each
Rule in a WebACL, the priority of the
Rule, and the ID of the Rule. |
Copyright © 2024. All rights reserved.