@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRateBasedRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateRateBasedRuleRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateRateBasedRuleRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getChangeToken()
 The  ChangeTokenthat you used to submit theCreateRateBasedRulerequest. | 
| String | getMetricName()
 A friendly name or description for the metrics for this  RateBasedRule. | 
| String | getName()
 A friendly name or description of the RateBasedRule. | 
| String | getRateKey()
 The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus subject to
 rate monitoring. | 
| Long | getRateLimit()
 The maximum number of requests, which have an identical value in the field that is specified by
  RateKey, allowed in a five-minute period. | 
| List<Tag> | getTags() | 
| int | hashCode() | 
| void | setChangeToken(String changeToken)
 The  ChangeTokenthat you used to submit theCreateRateBasedRulerequest. | 
| void | setMetricName(String metricName)
 A friendly name or description for the metrics for this  RateBasedRule. | 
| void | setName(String name)
 A friendly name or description of the RateBasedRule. | 
| void | setRateKey(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. | 
| void | setRateKey(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. | 
| void | setRateLimit(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. | 
| void | setTags(Collection<Tag> tags) | 
| String | toString()Returns a string representation of this object. | 
| CreateRateBasedRuleRequest | withChangeToken(String changeToken)
 The  ChangeTokenthat you used to submit theCreateRateBasedRulerequest. | 
| CreateRateBasedRuleRequest | withMetricName(String metricName)
 A friendly name or description for the metrics for this  RateBasedRule. | 
| CreateRateBasedRuleRequest | withName(String name)
 A friendly name or description of the RateBasedRule. | 
| CreateRateBasedRuleRequest | withRateKey(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 | withRateKey(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 | withRateLimit(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 | withTags(Collection<Tag> tags) | 
| CreateRateBasedRuleRequest | withTags(Tag... tags) | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(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.public String getName()
 A friendly name or description of the RateBasedRule. You can't change the name of a
 RateBasedRule after you create it.
 
RateBasedRule after you create it.public CreateRateBasedRuleRequest withName(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.public void setMetricName(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.public String getMetricName()
 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.
 
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.public CreateRateBasedRuleRequest withMetricName(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.public void setRateKey(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.RateKeypublic String getRateKey()
 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 is IP.
         IP indicates that requests that arrive from the same IP address are subject to the
         RateLimit that is specified in the RateBasedRule.RateKeypublic CreateRateBasedRuleRequest withRateKey(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.RateKeypublic void setRateKey(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.RateKeypublic CreateRateBasedRuleRequest withRateKey(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.RateKeypublic void setRateLimit(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.public Long getRateLimit()
 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.
 
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.public CreateRateBasedRuleRequest withRateLimit(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.public void setChangeToken(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.public String getChangeToken()
 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 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.public CreateRateBasedRuleRequest withChangeToken(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.public void setTags(Collection<Tag> tags)
tags - public CreateRateBasedRuleRequest withTags(Tag... tags)
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - public CreateRateBasedRuleRequest withTags(Collection<Tag> tags)
tags - public String toString()
toString in class ObjectObject.toString()public CreateRateBasedRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()