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 SummaryModifier 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) TheRuleGroupIdof the RuleGroup that you want to update.updates(Collection<RuleGroupUpdate> updates) An array ofRuleGroupUpdateobjects that you want to insert into or delete from a RuleGroup.updates(Consumer<RuleGroupUpdate.Builder>... updates) An array ofRuleGroupUpdateobjects that you want to insert into or delete from a RuleGroup.updates(RuleGroupUpdate... updates) An array ofRuleGroupUpdateobjects that you want to insert into or delete from a RuleGroup.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.waf.model.WafRequest.Builderbuild
- 
Method Details- 
ruleGroupIdThe RuleGroupIdof the RuleGroup that you want to update.RuleGroupIdis returned by CreateRuleGroup and by ListRuleGroups.- Parameters:
- ruleGroupId- The- RuleGroupIdof 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.
 
- 
updatesAn 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 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 a- RuleGroupto a- WebACL. In this case you do not use- ActivatedRule|Action. For all other update requests,- ActivatedRule|Actionis used instead of- ActivatedRule|OverrideAction.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
updatesAn 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 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 a- RuleGroupto a- WebACL. In this case you do not use- ActivatedRule|Action. For all other update requests,- ActivatedRule|Actionis used instead of- ActivatedRule|OverrideAction.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
updatesAn 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 toupdates(List<RuleGroupUpdate>).- Parameters:
- updates- a consumer that will call methods on- RuleGroupUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
changeTokenThe 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.
 
- 
overrideConfigurationUpdateRuleGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateRuleGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-