| Package | Description |
|---|---|
| com.amazonaws.services.wafv2.model |
| Modifier and Type | Method and Description |
|---|---|
Rule |
Rule.clone() |
Rule |
Rule.withAction(RuleAction action)
The action that AWS WAF should take on a web request when it matches the rule statement.
|
Rule |
Rule.withName(String name)
The name of the rule.
|
Rule |
Rule.withOverrideAction(OverrideAction overrideAction)
The override action to apply to the rules in a rule group.
|
Rule |
Rule.withPriority(Integer priority)
If you define more than one
Rule in a WebACL, AWS WAF evaluates each request against
the Rules in order based on the value of Priority. |
Rule |
Rule.withRuleLabels(Collection<Label> ruleLabels)
Labels to apply to web requests that match the rule match statement.
|
Rule |
Rule.withRuleLabels(Label... ruleLabels)
Labels to apply to web requests that match the rule match statement.
|
Rule |
Rule.withStatement(Statement statement)
The AWS WAF processing statement for the rule, for example ByteMatchStatement or
SizeConstraintStatement.
|
Rule |
Rule.withVisibilityConfig(VisibilityConfig visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
| Modifier and Type | Method and Description |
|---|---|
List<Rule> |
UpdateWebACLRequest.getRules()
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
List<Rule> |
CreateWebACLRequest.getRules()
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
List<Rule> |
CreateRuleGroupRequest.getRules()
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
List<Rule> |
RuleGroup.getRules()
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
List<Rule> |
CheckCapacityRequest.getRules()
An array of Rule that you're configuring to use in a rule group or web ACL.
|
List<Rule> |
WebACL.getRules()
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
List<Rule> |
UpdateRuleGroupRequest.getRules()
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateWebACLRequest |
UpdateWebACLRequest.withRules(Rule... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
CreateWebACLRequest |
CreateWebACLRequest.withRules(Rule... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
CreateRuleGroupRequest |
CreateRuleGroupRequest.withRules(Rule... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
RuleGroup |
RuleGroup.withRules(Rule... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
CheckCapacityRequest |
CheckCapacityRequest.withRules(Rule... rules)
An array of Rule that you're configuring to use in a rule group or web ACL.
|
WebACL |
WebACL.withRules(Rule... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
UpdateRuleGroupRequest |
UpdateRuleGroupRequest.withRules(Rule... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UpdateWebACLRequest.setRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
void |
CreateWebACLRequest.setRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
void |
CreateRuleGroupRequest.setRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
void |
RuleGroup.setRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
void |
CheckCapacityRequest.setRules(Collection<Rule> rules)
An array of Rule that you're configuring to use in a rule group or web ACL.
|
void |
WebACL.setRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
void |
UpdateRuleGroupRequest.setRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
UpdateWebACLRequest |
UpdateWebACLRequest.withRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
CreateWebACLRequest |
CreateWebACLRequest.withRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
CreateRuleGroupRequest |
CreateRuleGroupRequest.withRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
RuleGroup |
RuleGroup.withRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
CheckCapacityRequest |
CheckCapacityRequest.withRules(Collection<Rule> rules)
An array of Rule that you're configuring to use in a rule group or web ACL.
|
WebACL |
WebACL.withRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
UpdateRuleGroupRequest |
UpdateRuleGroupRequest.withRules(Collection<Rule> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
Copyright © 2021. All rights reserved.