public static interface CreateRateBasedRuleRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<CreateRateBasedRuleRequest.Builder,CreateRateBasedRuleRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateRateBasedRuleRequest.Builder |
changeToken(String changeToken)
The
ChangeToken that you used to submit the CreateRateBasedRule request. |
CreateRateBasedRuleRequest.Builder |
metricName(String metricName)
A friendly name or description for the metrics for this
RateBasedRule. |
CreateRateBasedRuleRequest.Builder |
name(String name)
A friendly name or description of the RateBasedRule.
|
CreateRateBasedRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRateBasedRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateRateBasedRuleRequest.Builder |
rateKey(RateKey rateKey)
The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus
subject to rate monitoring.
|
CreateRateBasedRuleRequest.Builder |
rateKey(String rateKey)
The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus
subject to rate monitoring.
|
CreateRateBasedRuleRequest.Builder |
rateLimit(Long rateLimit)
The maximum number of requests, which have an identical value in the field that is specified by
RateKey, allowed in a five-minute period. |
CreateRateBasedRuleRequest.Builder |
tags(Collection<Tag> tags)
|
CreateRateBasedRuleRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
This is a convenience method that creates an instance of the
Tag.Builder avoiding the need to create one manually via
Tag.builder(). |
CreateRateBasedRuleRequest.Builder |
tags(Tag... tags)
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRateBasedRuleRequest.Builder name(String name)
A friendly name or description of the RateBasedRule. You can't change the name of a
RateBasedRule after you create it.
name - A friendly name or description of the RateBasedRule. You can't change the name of a
RateBasedRule after you create it.CreateRateBasedRuleRequest.Builder metricName(String metricName)
A friendly name or description for the metrics for this RateBasedRule. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the
name of the metric after you create the RateBasedRule.
metricName - A friendly name or description for the metrics for this RateBasedRule. The name can
contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one.
It can't contain whitespace or metric names reserved for AWS WAF, including "All" and
"Default_Action." You can't change the name of the metric after you create the
RateBasedRule.CreateRateBasedRuleRequest.Builder rateKey(String rateKey)
The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus
subject to rate monitoring. The only valid value for RateKey is IP. IP
indicates that requests that arrive from the same IP address are subject to the RateLimit that
is specified in the RateBasedRule.
rateKey - The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus
subject to rate monitoring. The only valid value for RateKey is IP.
IP indicates that requests that arrive from the same IP address are subject to the
RateLimit that is specified in the RateBasedRule.RateKey,
RateKeyCreateRateBasedRuleRequest.Builder rateKey(RateKey rateKey)
The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus
subject to rate monitoring. The only valid value for RateKey is IP. IP
indicates that requests that arrive from the same IP address are subject to the RateLimit that
is specified in the RateBasedRule.
rateKey - The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus
subject to rate monitoring. The only valid value for RateKey is IP.
IP indicates that requests that arrive from the same IP address are subject to the
RateLimit that is specified in the RateBasedRule.RateKey,
RateKeyCreateRateBasedRuleRequest.Builder rateLimit(Long rateLimit)
The maximum number of requests, which have an identical value in the field that is specified by
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 that is specified by
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.CreateRateBasedRuleRequest.Builder changeToken(String changeToken)
The ChangeToken that you used to submit the CreateRateBasedRule request. You can
also use this value to query the status of the request. For more information, see
GetChangeTokenStatus.
changeToken - The ChangeToken that you used to submit the CreateRateBasedRule request. You
can also use this value to query the status of the request. For more information, see
GetChangeTokenStatus.CreateRateBasedRuleRequest.Builder tags(Collection<Tag> tags)
tags - CreateRateBasedRuleRequest.Builder tags(Tag... tags)
tags - CreateRateBasedRuleRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateRateBasedRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRateBasedRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.