Class UpdateRuleRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The value returned by the most recent call to GetChangeToken.TheRuleId
of theRule
that you want to update.An array ofRuleUpdate
objects that you want to insert into or delete from a Rule.int
hashCode()
void
setChangeToken
(String changeToken) The value returned by the most recent call to GetChangeToken.void
TheRuleId
of theRule
that you want to update.void
setUpdates
(Collection<RuleUpdate> updates) An array ofRuleUpdate
objects that you want to insert into or delete from a Rule.toString()
Returns a string representation of this object; useful for testing and debugging.withChangeToken
(String changeToken) The value returned by the most recent call to GetChangeToken.withRuleId
(String ruleId) TheRuleId
of theRule
that you want to update.withUpdates
(RuleUpdate... updates) An array ofRuleUpdate
objects that you want to insert into or delete from a Rule.withUpdates
(Collection<RuleUpdate> updates) An array ofRuleUpdate
objects that you want to insert into or delete from a Rule.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
UpdateRuleRequest
public UpdateRuleRequest()
-
-
Method Details
-
setRuleId
The
RuleId
of theRule
that you want to update.RuleId
is returned byCreateRule
and by ListRules.- Parameters:
ruleId
- TheRuleId
of theRule
that you want to update.RuleId
is returned byCreateRule
and by ListRules.
-
getRuleId
The
RuleId
of theRule
that you want to update.RuleId
is returned byCreateRule
and by ListRules.- Returns:
- The
RuleId
of theRule
that you want to update.RuleId
is returned byCreateRule
and by ListRules.
-
withRuleId
The
RuleId
of theRule
that you want to update.RuleId
is returned byCreateRule
and by ListRules.- Parameters:
ruleId
- TheRuleId
of theRule
that you want to update.RuleId
is returned byCreateRule
and by ListRules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeToken
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.
-
getChangeToken
The value returned by the most recent call to GetChangeToken.
- Returns:
- The value returned by the most recent call to GetChangeToken.
-
withChangeToken
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUpdates
An array of
RuleUpdate
objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- RuleUpdate: Contains
Action
andPredicate
- Predicate: Contains
DataId
,Negated
, andType
- FieldToMatch: Contains
Data
andType
- Returns:
- An array of
RuleUpdate
objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- RuleUpdate: Contains
Action
andPredicate
- Predicate: Contains
DataId
,Negated
, andType
- FieldToMatch: Contains
Data
andType
- RuleUpdate: Contains
- RuleUpdate: Contains
-
setUpdates
An array of
RuleUpdate
objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- RuleUpdate: Contains
Action
andPredicate
- Predicate: Contains
DataId
,Negated
, andType
- FieldToMatch: Contains
Data
andType
- Parameters:
updates
- An array ofRuleUpdate
objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- RuleUpdate: Contains
Action
andPredicate
- Predicate: Contains
DataId
,Negated
, andType
- FieldToMatch: Contains
Data
andType
- RuleUpdate: Contains
- RuleUpdate: Contains
-
withUpdates
An array of
RuleUpdate
objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- RuleUpdate: Contains
Action
andPredicate
- Predicate: Contains
DataId
,Negated
, andType
- FieldToMatch: Contains
Data
andType
NOTE: This method appends the values to the existing list (if any). Use
setUpdates(java.util.Collection)
orwithUpdates(java.util.Collection)
if you want to override the existing values.- Parameters:
updates
- An array ofRuleUpdate
objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- RuleUpdate: Contains
Action
andPredicate
- Predicate: Contains
DataId
,Negated
, andType
- FieldToMatch: Contains
Data
andType
- RuleUpdate: Contains
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- RuleUpdate: Contains
-
withUpdates
An array of
RuleUpdate
objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- RuleUpdate: Contains
Action
andPredicate
- Predicate: Contains
DataId
,Negated
, andType
- FieldToMatch: Contains
Data
andType
- Parameters:
updates
- An array ofRuleUpdate
objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:- RuleUpdate: Contains
Action
andPredicate
- Predicate: Contains
DataId
,Negated
, andType
- FieldToMatch: Contains
Data
andType
- RuleUpdate: Contains
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- RuleUpdate: Contains
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-