Interface UpdateRuleGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateRuleGroupRequest.Builder,
,UpdateRuleGroupRequest> SdkBuilder<UpdateRuleGroupRequest.Builder,
,UpdateRuleGroupRequest> SdkPojo
,SdkRequest.Builder
,WafRequest.Builder
- Enclosing class:
UpdateRuleGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionchangeToken
(String changeToken) The value returned by the most recent call to GetChangeToken.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ruleGroupId
(String ruleGroupId) TheRuleGroupId
of the RuleGroup that you want to update.updates
(Collection<RuleGroupUpdate> updates) An array ofRuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.updates
(Consumer<RuleGroupUpdate.Builder>... updates) An array ofRuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.updates
(RuleGroupUpdate... updates) An array ofRuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.waf.model.WafRequest.Builder
build
-
Method Details
-
ruleGroupId
The
RuleGroupId
of the RuleGroup that you want to update.RuleGroupId
is returned by CreateRuleGroup and by ListRuleGroups.- Parameters:
ruleGroupId
- TheRuleGroupId
of the RuleGroup that you want to update.RuleGroupId
is returned by CreateRuleGroup and by ListRuleGroups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of
RuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.You can only insert
REGULAR
rules into a rule group.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
.- Parameters:
updates
- An array ofRuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.You can only insert
REGULAR
rules into a rule group.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of
RuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.You can only insert
REGULAR
rules into a rule group.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
.- Parameters:
updates
- An array ofRuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.You can only insert
REGULAR
rules into a rule group.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of
RuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.You can only insert
REGULAR
rules into a rule group.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
.RuleGroupUpdate.Builder
avoiding the need to create one manually viaRuleGroupUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdates(List<RuleGroupUpdate>)
.- Parameters:
updates
- a consumer that will call methods onRuleGroupUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
changeToken
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRuleGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRuleGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-