public static interface UpdateRateBasedRuleRequest.Builder extends WAFRequest.Builder, CopyableBuilder<UpdateRateBasedRuleRequest.Builder,UpdateRateBasedRuleRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateRateBasedRuleRequest.Builder |
changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
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. |
UpdateRateBasedRuleRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateRateBasedRuleRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateRateBasedRuleRequest.Builder |
ruleId(String ruleId)
The
RuleId of the RateBasedRule that you want to update. |
UpdateRateBasedRuleRequest.Builder |
updates(Collection<RuleUpdate> updates)
An array of
RuleUpdate objects that you want to insert into or delete from a
RateBasedRule. |
UpdateRateBasedRuleRequest.Builder |
updates(Consumer<RuleUpdate.Builder>... updates)
An array of
RuleUpdate objects that you want to insert into or delete from a
RateBasedRule. |
UpdateRateBasedRuleRequest.Builder |
updates(RuleUpdate... updates)
An array of
RuleUpdate objects that you want to insert into or delete from a
RateBasedRule. |
buildrequestOverrideConfigcopyapply, buildUpdateRateBasedRuleRequest.Builder ruleId(String ruleId)
The RuleId of the RateBasedRule that you want to update. RuleId is
returned by CreateRateBasedRule and by ListRateBasedRules.
ruleId - The RuleId of the RateBasedRule that you want to update. RuleId
is returned by CreateRateBasedRule and by ListRateBasedRules.UpdateRateBasedRuleRequest.Builder changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken - The value returned by the most recent call to GetChangeToken.UpdateRateBasedRuleRequest.Builder updates(Collection<RuleUpdate> updates)
An array of RuleUpdate objects that you want to insert into or delete from a
RateBasedRule.
updates - An array of RuleUpdate objects that you want to insert into or delete from a
RateBasedRule.UpdateRateBasedRuleRequest.Builder updates(RuleUpdate... updates)
An array of RuleUpdate objects that you want to insert into or delete from a
RateBasedRule.
updates - An array of RuleUpdate objects that you want to insert into or delete from a
RateBasedRule.UpdateRateBasedRuleRequest.Builder updates(Consumer<RuleUpdate.Builder>... updates)
An array of RuleUpdate objects that you want to insert into or delete from a
RateBasedRule.
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #updates(List) .updates - a consumer that will call methods on List.Builder #updates(List) 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 the
RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the
action that is specified for this rule.
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 the
RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers
the action that is specified for this rule.UpdateRateBasedRuleRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.UpdateRateBasedRuleRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.