@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRateBasedRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRateBasedRuleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRateBasedRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChangeToken()
The value returned by the most recent call to GetChangeToken.
|
Long |
getRateLimit()
The maximum number of requests, which have an identical value in the field specified by the
RateKey ,
allowed in a five-minute period. |
String |
getRuleId()
The
RuleId of the RateBasedRule that you want to update. |
List<RuleUpdate> |
getUpdates()
An array of
RuleUpdate objects that you want to insert into or delete from a RateBasedRule. |
int |
hashCode() |
void |
setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
void |
setRateLimit(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. |
void |
setRuleId(String ruleId)
The
RuleId of the RateBasedRule that you want to update. |
void |
setUpdates(Collection<RuleUpdate> updates)
An array of
RuleUpdate objects that you want to insert into or delete from a RateBasedRule. |
String |
toString()
Returns a string representation of this object.
|
UpdateRateBasedRuleRequest |
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
UpdateRateBasedRuleRequest |
withRateLimit(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 |
withRuleId(String ruleId)
The
RuleId of the RateBasedRule that you want to update. |
UpdateRateBasedRuleRequest |
withUpdates(Collection<RuleUpdate> updates)
An array of
RuleUpdate objects that you want to insert into or delete from a RateBasedRule. |
UpdateRateBasedRuleRequest |
withUpdates(RuleUpdate... updates)
An array of
RuleUpdate objects that you want to insert into or delete from a RateBasedRule. |
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, withSdkRequestTimeout
public void setRuleId(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.public String getRuleId()
The RuleId
of the RateBasedRule
that you want to update. RuleId
is
returned by CreateRateBasedRule
and by ListRateBasedRules.
RuleId
of the RateBasedRule
that you want to update. RuleId
is
returned by CreateRateBasedRule
and by ListRateBasedRules.public UpdateRateBasedRuleRequest withRuleId(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.public void setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken
- The value returned by the most recent call to GetChangeToken.public String getChangeToken()
The value returned by the most recent call to GetChangeToken.
public UpdateRateBasedRuleRequest withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken
- The value returned by the most recent call to GetChangeToken.public List<RuleUpdate> getUpdates()
An array of RuleUpdate
objects that you want to insert into or delete from a RateBasedRule.
RuleUpdate
objects that you want to insert into or delete from a
RateBasedRule.public void setUpdates(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.public UpdateRateBasedRuleRequest withUpdates(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.public UpdateRateBasedRuleRequest withUpdates(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.public void setRateLimit(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.public Long getRateLimit()
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.
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 UpdateRateBasedRuleRequest withRateLimit(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.public String toString()
toString
in class Object
Object.toString()
public UpdateRateBasedRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()