CopyableBuilder<UpdateRateBasedRuleRequest.Builder,UpdateRateBasedRuleRequest>
, SdkBuilder<UpdateRateBasedRuleRequest.Builder,UpdateRateBasedRuleRequest>
public static interface UpdateRateBasedRuleRequest.Builder extends CopyableBuilder<UpdateRateBasedRuleRequest.Builder,UpdateRateBasedRuleRequest>
Modifier and Type | Method | 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 |
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(RuleUpdate... updates) |
An array of
RuleUpdate objects that you want to insert into or delete from a
RateBasedRule. |
copy
apply, build
UpdateRateBasedRuleRequest.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.
NOTE: This method appends the values to the existing list (if any). Use
#setUpdates(java.util.Collection)
or #withUpdates(java.util.Collection)
if you want to
override the existing values.
updates
- An array of RuleUpdate
objects that you want to insert into or delete from a
RateBasedRule.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.