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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateRateBasedRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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 |
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. |
buildoverrideConfigurationcopyapplyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.UpdateRateBasedRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.