public static interface RuleGroupUpdate.Builder extends SdkPojo, CopyableBuilder<RuleGroupUpdate.Builder,RuleGroupUpdate>
| Modifier and Type | Method and Description |
|---|---|
RuleGroupUpdate.Builder |
action(ChangeAction action)
Specify
INSERT to add an ActivatedRule to a RuleGroup. |
RuleGroupUpdate.Builder |
action(String action)
Specify
INSERT to add an ActivatedRule to a RuleGroup. |
RuleGroupUpdate.Builder |
activatedRule(ActivatedRule activatedRule)
The
ActivatedRule object specifies a Rule that you want to insert or delete, the
priority of the Rule in the WebACL, and the action that you want AWS WAF to take
when a web request matches the Rule (ALLOW, BLOCK, or
COUNT). |
default RuleGroupUpdate.Builder |
activatedRule(Consumer<ActivatedRule.Builder> activatedRule)
The
ActivatedRule object specifies a Rule that you want to insert or delete, the
priority of the Rule in the WebACL, and the action that you want AWS WAF to take
when a web request matches the Rule (ALLOW, BLOCK, or
COUNT). |
copyapplyMutation, buildRuleGroupUpdate.Builder action(String action)
Specify INSERT to add an ActivatedRule to a RuleGroup. Use
DELETE to remove an ActivatedRule from a RuleGroup.
action - Specify INSERT to add an ActivatedRule to a RuleGroup. Use
DELETE to remove an ActivatedRule from a RuleGroup.ChangeAction,
ChangeActionRuleGroupUpdate.Builder action(ChangeAction action)
Specify INSERT to add an ActivatedRule to a RuleGroup. Use
DELETE to remove an ActivatedRule from a RuleGroup.
action - Specify INSERT to add an ActivatedRule to a RuleGroup. Use
DELETE to remove an ActivatedRule from a RuleGroup.ChangeAction,
ChangeActionRuleGroupUpdate.Builder activatedRule(ActivatedRule activatedRule)
The ActivatedRule object specifies a Rule that you want to insert or delete, the
priority of the Rule in the WebACL, and the action that you want AWS WAF to take
when a web request matches the Rule (ALLOW, BLOCK, or
COUNT).
activatedRule - The ActivatedRule object specifies a Rule that you want to insert or delete,
the priority of the Rule in the WebACL, and the action that you want AWS WAF
to take when a web request matches the Rule (ALLOW, BLOCK, or
COUNT).default RuleGroupUpdate.Builder activatedRule(Consumer<ActivatedRule.Builder> activatedRule)
The ActivatedRule object specifies a Rule that you want to insert or delete, the
priority of the Rule in the WebACL, and the action that you want AWS WAF to take
when a web request matches the Rule (ALLOW, BLOCK, or
COUNT).
ActivatedRule.Builder avoiding the need to
create one manually via ActivatedRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to activatedRule(ActivatedRule).activatedRule - a consumer that will call methods on ActivatedRule.BuilderactivatedRule(ActivatedRule)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.