Interface UpdateRateBasedRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRateBasedRuleRequest.Builder,UpdateRateBasedRuleRequest>,SdkBuilder<UpdateRateBasedRuleRequest.Builder,UpdateRateBasedRuleRequest>,SdkPojo,SdkRequest.Builder,WafRequest.Builder
- Enclosing class:
- UpdateRateBasedRuleRequest
public static interface UpdateRateBasedRuleRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<UpdateRateBasedRuleRequest.Builder,UpdateRateBasedRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateRateBasedRuleRequest.BuilderchangeToken(String changeToken)The value returned by the most recent call to GetChangeToken.UpdateRateBasedRuleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateRateBasedRuleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateRateBasedRuleRequest.BuilderrateLimit(Long rateLimit)The maximum number of requests, which have an identical value in the field specified by theRateKey, allowed in a five-minute period.UpdateRateBasedRuleRequest.BuilderruleId(String ruleId)TheRuleIdof theRateBasedRulethat you want to update.UpdateRateBasedRuleRequest.Builderupdates(Collection<RuleUpdate> updates)An array ofRuleUpdateobjects that you want to insert into or delete from a RateBasedRule.UpdateRateBasedRuleRequest.Builderupdates(Consumer<RuleUpdate.Builder>... updates)An array ofRuleUpdateobjects that you want to insert into or delete from a RateBasedRule.UpdateRateBasedRuleRequest.Builderupdates(RuleUpdate... updates)An array ofRuleUpdateobjects that you want to insert into or delete from a RateBasedRule.-
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
UpdateRateBasedRuleRequest.Builder ruleId(String ruleId)
The
RuleIdof theRateBasedRulethat you want to update.RuleIdis returned byCreateRateBasedRuleand by ListRateBasedRules.- Parameters:
ruleId- TheRuleIdof theRateBasedRulethat you want to update.RuleIdis returned byCreateRateBasedRuleand by ListRateBasedRules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeToken
UpdateRateBasedRuleRequest.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
UpdateRateBasedRuleRequest.Builder updates(Collection<RuleUpdate> updates)
An array of
RuleUpdateobjects that you want to insert into or delete from a RateBasedRule.- Parameters:
updates- An array ofRuleUpdateobjects that you want to insert into or delete from a RateBasedRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
UpdateRateBasedRuleRequest.Builder updates(RuleUpdate... updates)
An array of
RuleUpdateobjects that you want to insert into or delete from a RateBasedRule.- Parameters:
updates- An array ofRuleUpdateobjects that you want to insert into or delete from a RateBasedRule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
UpdateRateBasedRuleRequest.Builder updates(Consumer<RuleUpdate.Builder>... updates)
An array of
This is a convenience method that creates an instance of theRuleUpdateobjects that you want to insert into or delete from a RateBasedRule.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)
-
rateLimit
UpdateRateBasedRuleRequest.Builder rateLimit(Long rateLimit)
The maximum number of requests, which have an identical value in the field specified by the
RateKey, allowed in a five-minute period. If the number of requests exceeds theRateLimitand the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.- Parameters:
rateLimit- The maximum number of requests, which have an identical value in the field specified by theRateKey, allowed in a five-minute period. If the number of requests exceeds theRateLimitand the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRateBasedRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRateBasedRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-