public class UpdateRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateRuleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getChangeToken()
The value returned by the most recent call to GetChangeToken.
|
String |
getRuleId()
The
RuleId of the Rule that you want to update. |
List<RuleUpdate> |
getUpdates()
An array of
RuleUpdate 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 |
setRuleId(String ruleId)
The
RuleId of the Rule 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 Rule. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateRuleRequest |
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
UpdateRuleRequest |
withRuleId(String ruleId)
The
RuleId of the Rule that you want to update. |
UpdateRuleRequest |
withUpdates(Collection<RuleUpdate> updates)
An array of
RuleUpdate objects that you want to insert into
or delete from a Rule. |
UpdateRuleRequest |
withUpdates(RuleUpdate... updates)
An array of
RuleUpdate objects that you want to insert into
or delete from a Rule. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRuleId(String ruleId)
The RuleId of the Rule that you want to update.
RuleId is returned by CreateRule and by
ListRules.
ruleId - The RuleId of the Rule that you want to
update. RuleId is returned by CreateRule
and by ListRules.public String getRuleId()
The RuleId of the Rule that you want to update.
RuleId is returned by CreateRule and by
ListRules.
RuleId of the Rule that you want to
update. RuleId is returned by
CreateRule and by ListRules.public UpdateRuleRequest withRuleId(String ruleId)
The RuleId of the Rule that you want to update.
RuleId is returned by CreateRule and by
ListRules.
ruleId - The RuleId of the Rule that you want to
update. RuleId is returned by CreateRule
and by ListRules.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 UpdateRuleRequest 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 Rule. For more information, see the applicable
data types:
Action and
PredicateDataId, Negated,
and TypeData and Type
RuleUpdate objects that you want to
insert into or delete from a Rule. For more information,
see the applicable data types:
Action and
PredicateDataId,
Negated, and TypeData and
Typepublic void setUpdates(Collection<RuleUpdate> updates)
An array of RuleUpdate objects that you want to insert into
or delete from a Rule. For more information, see the applicable
data types:
Action and
PredicateDataId, Negated,
and TypeData and Type
updates - An array of RuleUpdate objects that you want to
insert into or delete from a Rule. For more information,
see the applicable data types:
Action and
PredicateDataId,
Negated, and TypeData and
Typepublic UpdateRuleRequest withUpdates(RuleUpdate... updates)
An array of RuleUpdate objects that you want to insert into
or delete from a Rule. For more information, see the applicable
data types:
Action and
PredicateDataId, Negated,
and TypeData and Type
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 Rule. For more information,
see the applicable data types:
Action and
PredicateDataId,
Negated, and TypeData and
Typepublic UpdateRuleRequest withUpdates(Collection<RuleUpdate> updates)
An array of RuleUpdate objects that you want to insert into
or delete from a Rule. For more information, see the applicable
data types:
Action and
PredicateDataId, Negated,
and TypeData and Type
updates - An array of RuleUpdate objects that you want to
insert into or delete from a Rule. For more information,
see the applicable data types:
Action and
PredicateDataId,
Negated, and TypeData and
Typepublic String toString()
toString in class ObjectObject.toString()public UpdateRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.