public static interface CreateRateBasedRuleRequest.Builder extends WAFRequest.Builder, 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 |
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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateRateBasedRuleRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, 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); the name can't contain whitespace. 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); the name can't contain whitespace. 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateRateBasedRuleRequest.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.