| Package | Description |
|---|---|
| software.amazon.awssdk.services.wafv2.model |
| Modifier and Type | Method and Description |
|---|---|
default Rule.Builder |
Rule.Builder.action(Consumer<RuleAction.Builder> action)
The action that AWS WAF should take on a web request when it matches the rule statement.
|
Rule.Builder |
Rule.Builder.action(RuleAction action)
The action that AWS WAF should take on a web request when it matches the rule statement.
|
static Rule.Builder |
Rule.builder() |
Rule.Builder |
Rule.Builder.name(String name)
The name of the rule.
|
default Rule.Builder |
Rule.Builder.overrideAction(Consumer<OverrideAction.Builder> overrideAction)
The override action to apply to the rules in a rule group.
|
Rule.Builder |
Rule.Builder.overrideAction(OverrideAction overrideAction)
The override action to apply to the rules in a rule group.
|
Rule.Builder |
Rule.Builder.priority(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.Builder |
Rule.Builder.ruleLabels(Collection<Label> ruleLabels)
Labels to apply to web requests that match the rule match statement.
|
Rule.Builder |
Rule.Builder.ruleLabels(Consumer<Label.Builder>... ruleLabels)
Labels to apply to web requests that match the rule match statement.
|
Rule.Builder |
Rule.Builder.ruleLabels(Label... ruleLabels)
Labels to apply to web requests that match the rule match statement.
|
default Rule.Builder |
Rule.Builder.statement(Consumer<Statement.Builder> statement)
The AWS WAF processing statement for the rule, for example ByteMatchStatement or
SizeConstraintStatement.
|
Rule.Builder |
Rule.Builder.statement(Statement statement)
The AWS WAF processing statement for the rule, for example ByteMatchStatement or
SizeConstraintStatement.
|
Rule.Builder |
Rule.toBuilder() |
default Rule.Builder |
Rule.Builder.visibilityConfig(Consumer<VisibilityConfig.Builder> visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
Rule.Builder |
Rule.Builder.visibilityConfig(VisibilityConfig visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Rule.Builder> |
Rule.serializableBuilderClass() |
Copyright © 2021. All rights reserved.