Interface UpdateRuleRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateRuleRequest.Builder,,- UpdateRuleRequest> - SdkBuilder<UpdateRuleRequest.Builder,,- UpdateRuleRequest> - SdkPojo,- SdkRequest.Builder,- WafRequest.Builder
- Enclosing class:
- UpdateRuleRequest
- 
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.TheRuleIdof theRulethat you want to update.updates(Collection<RuleUpdate> updates) An array ofRuleUpdateobjects that you want to insert into or delete from a Rule.updates(Consumer<RuleUpdate.Builder>... updates) An array ofRuleUpdateobjects that you want to insert into or delete from a Rule.updates(RuleUpdate... updates) An array ofRuleUpdateobjects that you want to insert into or delete from a Rule.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- 
ruleIdThe RuleIdof theRulethat you want to update.RuleIdis returned byCreateRuleand by ListRules.- Parameters:
- ruleId- The- RuleIdof the- Rulethat you want to update.- RuleIdis returned by- CreateRuleand by ListRules.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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.
 
- 
updatesAn array of RuleUpdateobjects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- 
 RuleUpdate: Contains ActionandPredicate
- 
 Predicate: Contains DataId,Negated, andType
- 
 FieldToMatch: Contains DataandType
 - Parameters:
- updates- An array of- RuleUpdateobjects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- 
        RuleUpdate: Contains ActionandPredicate
- 
        Predicate: Contains DataId,Negated, andType
- 
        FieldToMatch: Contains DataandType
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
updatesAn array of RuleUpdateobjects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- 
 RuleUpdate: Contains ActionandPredicate
- 
 Predicate: Contains DataId,Negated, andType
- 
 FieldToMatch: Contains DataandType
 - Parameters:
- updates- An array of- RuleUpdateobjects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- 
        RuleUpdate: Contains ActionandPredicate
- 
        Predicate: Contains DataId,Negated, andType
- 
        FieldToMatch: Contains DataandType
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
updatesAn array of RuleUpdateobjects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- 
 RuleUpdate: Contains ActionandPredicate
- 
 Predicate: Contains DataId,Negated, andType
- 
 FieldToMatch: Contains DataandType
 RuleUpdate.Builderavoiding the need to create one manually viaRuleUpdate.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdates(List<RuleUpdate>).- Parameters:
- updates- a consumer that will call methods on- RuleUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
overrideConfigurationUpdateRuleRequest.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.
 
- 
overrideConfigurationUpdateRuleRequest.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.
 
 
-