| Package | Description |
|---|---|
| com.amazonaws.services.wafv2.model |
| Modifier and Type | Method and Description |
|---|---|
RuleAction |
RuleAction.clone() |
RuleAction |
Rule.getAction()
The action that AWS WAF should take on a web request when it matches the rule statement.
|
RuleAction |
RuleSummary.getAction() |
RuleAction |
RuleAction.withAllow(AllowAction allow)
Instructs AWS WAF to allow the web request.
|
RuleAction |
RuleAction.withBlock(BlockAction block)
Instructs AWS WAF to block the web request.
|
RuleAction |
RuleAction.withCount(CountAction count)
Instructs AWS WAF to count the web request and allow it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Rule.setAction(RuleAction action)
The action that AWS WAF should take on a web request when it matches the rule statement.
|
void |
RuleSummary.setAction(RuleAction action) |
Rule |
Rule.withAction(RuleAction action)
The action that AWS WAF should take on a web request when it matches the rule statement.
|
RuleSummary |
RuleSummary.withAction(RuleAction action) |
Copyright © 2020. All rights reserved.