@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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. |
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 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:
RuleUpdate: Contains Action and Predicate
Predicate: Contains DataId, Negated, and Type
FieldToMatch: Contains Data and Type
RuleUpdate objects that you want to insert into or delete from a Rule.
For more information, see the applicable data types:
RuleUpdate: Contains Action and Predicate
Predicate: Contains DataId, Negated, and Type
FieldToMatch: Contains Data and Type
public 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:
RuleUpdate: Contains Action and Predicate
Predicate: Contains DataId, Negated, and Type
FieldToMatch: Contains Data 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:
RuleUpdate: Contains Action and Predicate
Predicate: Contains DataId, Negated, and Type
FieldToMatch: Contains Data and Type
public 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:
RuleUpdate: Contains Action and Predicate
Predicate: Contains DataId, Negated, and Type
FieldToMatch: Contains Data 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:
RuleUpdate: Contains Action and Predicate
Predicate: Contains DataId, Negated, and Type
FieldToMatch: Contains Data and Type
public 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:
RuleUpdate: Contains Action and Predicate
Predicate: Contains DataId, Negated, and Type
FieldToMatch: Contains Data 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:
RuleUpdate: Contains Action and Predicate
Predicate: Contains DataId, Negated, and Type
FieldToMatch: Contains Data and Type
public String toString()
toString in class ObjectObject.toString()public UpdateRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()