public static interface RuleSummary.Builder extends SdkPojo, CopyableBuilder<RuleSummary.Builder,RuleSummary>
| Modifier and Type | Method and Description |
|---|---|
default RuleSummary.Builder |
action(Consumer<RuleAction.Builder> action)
The action that WAF should take on a web request when it matches a rule's statement.
|
RuleSummary.Builder |
action(RuleAction action)
The action that WAF should take on a web request when it matches a rule's statement.
|
RuleSummary.Builder |
name(String name)
The name of the rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuleSummary.Builder name(String name)
The name of the rule.
name - The name of the rule.RuleSummary.Builder action(RuleAction action)
The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.
action - The action that WAF should take on a web request when it matches a rule's statement. Settings at the
web ACL level can override the rule action setting.default RuleSummary.Builder action(Consumer<RuleAction.Builder> action)
The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.
This is a convenience method that creates an instance of theRuleAction.Builder avoiding the need to
create one manually via RuleAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to action(RuleAction).
action - a consumer that will call methods on RuleAction.Builderaction(RuleAction)Copyright © 2023. All rights reserved.