public static interface UpdateRateBasedRuleRequest.Builder extends WafRequest.Builder, SdkPojo, 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) |
UpdateRateBasedRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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.
RuleUpdate.Builder avoiding the need to create one manually
via RuleUpdate.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #updates(List.
updates - a consumer that will call methods on
RuleUpdate.Builder#updates(java.util.Collection) 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)
overrideConfiguration in interface AwsRequest.BuilderUpdateRateBasedRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.