Interface UpdateRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>,SdkBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>,SdkPojo,SdkRequest.Builder,WafRequest.Builder
- Enclosing class:
- UpdateRuleRequest
public static interface UpdateRuleRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateRuleRequest.BuilderchangeToken(String changeToken)The value returned by the most recent call to GetChangeToken.UpdateRuleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateRuleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateRuleRequest.BuilderruleId(String ruleId)TheRuleIdof theRulethat you want to update.UpdateRuleRequest.Builderupdates(Collection<RuleUpdate> updates)An array ofRuleUpdateobjects that you want to insert into or delete from a Rule.UpdateRuleRequest.Builderupdates(Consumer<RuleUpdate.Builder>... updates)An array ofRuleUpdateobjects that you want to insert into or delete from a Rule.UpdateRuleRequest.Builderupdates(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.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
-
ruleId
UpdateRuleRequest.Builder ruleId(String ruleId)
The
RuleIdof theRulethat you want to update.RuleIdis returned byCreateRuleand by ListRules.- Parameters:
ruleId- TheRuleIdof theRulethat you want to update.RuleIdis returned byCreateRuleand by ListRules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeToken
UpdateRuleRequest.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.
-
updates
UpdateRuleRequest.Builder updates(Collection<RuleUpdate> 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
- Parameters:
updates- An array ofRuleUpdateobjects 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.
-
-
updates
UpdateRuleRequest.Builder updates(RuleUpdate... 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
- Parameters:
updates- An array ofRuleUpdateobjects 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.
-
-
updates
UpdateRuleRequest.Builder updates(Consumer<RuleUpdate.Builder>... 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
RuleUpdate.Builderavoiding the need to create one manually viaRuleUpdate.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 onRuleUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#updates(java.util.Collection)
-
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-