| 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 WAF should take on a web request when it matches the rule statement.
|
Rule.Builder |
Rule.Builder.action(RuleAction action)
The action that WAF should take on a web request when it matches the rule statement.
|
static Rule.Builder |
Rule.builder() |
Rule.Builder |
Rule.Builder.captchaConfig(CaptchaConfig captchaConfig)
Specifies how WAF should handle
CAPTCHA evaluations. |
default Rule.Builder |
Rule.Builder.captchaConfig(Consumer<CaptchaConfig.Builder> captchaConfig)
Specifies how WAF should handle
CAPTCHA evaluations. |
Rule.Builder |
Rule.Builder.challengeConfig(ChallengeConfig challengeConfig)
Specifies how WAF should handle
Challenge evaluations. |
default Rule.Builder |
Rule.Builder.challengeConfig(Consumer<ChallengeConfig.Builder> challengeConfig)
Specifies how WAF should handle
Challenge evaluations. |
Rule.Builder |
Rule.Builder.name(String name)
The name of the rule.
|
default Rule.Builder |
Rule.Builder.overrideAction(Consumer<OverrideAction.Builder> overrideAction)
The action to use in the place of the action that results from the rule group evaluation.
|
Rule.Builder |
Rule.Builder.overrideAction(OverrideAction overrideAction)
The action to use in the place of the action that results from the rule group evaluation.
|
Rule.Builder |
Rule.Builder.priority(Integer priority)
If you define more than one
Rule in a WebACL, 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 WAF processing statement for the rule, for example ByteMatchStatement or
SizeConstraintStatement.
|
Rule.Builder |
Rule.Builder.statement(Statement statement)
The 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 © 2023. All rights reserved.