Interface UpdateRuleGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRuleGroupRequest.Builder,UpdateRuleGroupRequest>,SdkBuilder<UpdateRuleGroupRequest.Builder,UpdateRuleGroupRequest>,SdkPojo,SdkRequest.Builder,WafRequest.Builder
- Enclosing class:
- UpdateRuleGroupRequest
public static interface UpdateRuleGroupRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleGroupRequest.Builder,UpdateRuleGroupRequest>
-
-
Method Summary
-
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 Detail
-
ruleGroupId
UpdateRuleGroupRequest.Builder ruleGroupId(String ruleGroupId)
The
RuleGroupIdof the RuleGroup that you want to update.RuleGroupIdis returned by CreateRuleGroup and by ListRuleGroups.- Parameters:
ruleGroupId- TheRuleGroupIdof the RuleGroup that you want to update.RuleGroupIdis returned by CreateRuleGroup and by ListRuleGroups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
UpdateRuleGroupRequest.Builder updates(Collection<RuleGroupUpdate> updates)
An array of
RuleGroupUpdateobjects that you want to insert into or delete from a RuleGroup.You can only insert
REGULARrules into a rule group.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction.- Parameters:
updates- An array ofRuleGroupUpdateobjects that you want to insert into or delete from a RuleGroup.You can only insert
REGULARrules into a rule group.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
UpdateRuleGroupRequest.Builder updates(RuleGroupUpdate... updates)
An array of
RuleGroupUpdateobjects that you want to insert into or delete from a RuleGroup.You can only insert
REGULARrules into a rule group.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction.- Parameters:
updates- An array ofRuleGroupUpdateobjects that you want to insert into or delete from a RuleGroup.You can only insert
REGULARrules into a rule group.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
UpdateRuleGroupRequest.Builder updates(Consumer<RuleGroupUpdate.Builder>... updates)
An array of
RuleGroupUpdateobjects that you want to insert into or delete from a RuleGroup.You can only insert
REGULARrules into a rule group.
This is a convenience method that creates an instance of theActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction.RuleGroupUpdate.Builderavoiding the need to create one manually viaRuleGroupUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#updates(List.) - 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:
#updates(java.util.Collection)
-
changeToken
UpdateRuleGroupRequest.Builder changeToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRuleGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-