Interface RuleGroupUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupUpdate.Builder,
,RuleGroupUpdate> SdkBuilder<RuleGroupUpdate.Builder,
,RuleGroupUpdate> SdkPojo
- Enclosing class:
RuleGroupUpdate
-
Method Summary
Modifier and TypeMethodDescriptionSpecifyINSERT
to add anActivatedRule
to aRuleGroup
.action
(ChangeAction action) SpecifyINSERT
to add anActivatedRule
to aRuleGroup
.default RuleGroupUpdate.Builder
activatedRule
(Consumer<ActivatedRule.Builder> activatedRule) TheActivatedRule
object specifies aRule
that you want to insert or delete, the priority of theRule
in theWebACL
, and the action that you want AWS WAF to take when a web request matches theRule
(ALLOW
,BLOCK
, orCOUNT
).activatedRule
(ActivatedRule activatedRule) TheActivatedRule
object specifies aRule
that you want to insert or delete, the priority of theRule
in theWebACL
, and the action that you want AWS WAF to take when a web request matches theRule
(ALLOW
,BLOCK
, orCOUNT
).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
Specify
INSERT
to add anActivatedRule
to aRuleGroup
. UseDELETE
to remove anActivatedRule
from aRuleGroup
.- Parameters:
action
- SpecifyINSERT
to add anActivatedRule
to aRuleGroup
. UseDELETE
to remove anActivatedRule
from aRuleGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Specify
INSERT
to add anActivatedRule
to aRuleGroup
. UseDELETE
to remove anActivatedRule
from aRuleGroup
.- Parameters:
action
- SpecifyINSERT
to add anActivatedRule
to aRuleGroup
. UseDELETE
to remove anActivatedRule
from aRuleGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activatedRule
The
ActivatedRule
object specifies aRule
that you want to insert or delete, the priority of theRule
in theWebACL
, and the action that you want AWS WAF to take when a web request matches theRule
(ALLOW
,BLOCK
, orCOUNT
).- Parameters:
activatedRule
- TheActivatedRule
object specifies aRule
that you want to insert or delete, the priority of theRule
in theWebACL
, and the action that you want AWS WAF to take when a web request matches theRule
(ALLOW
,BLOCK
, orCOUNT
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activatedRule
The
This is a convenience method that creates an instance of theActivatedRule
object specifies aRule
that you want to insert or delete, the priority of theRule
in theWebACL
, and the action that you want AWS WAF to take when a web request matches theRule
(ALLOW
,BLOCK
, orCOUNT
).ActivatedRule.Builder
avoiding the need to create one manually viaActivatedRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactivatedRule(ActivatedRule)
.- Parameters:
activatedRule
- a consumer that will call methods onActivatedRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-