@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRuleGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRuleGroupRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRuleGroupRequest |
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 |
getRuleGroupId()
The
RuleGroupId of the RuleGroup that you want to update. |
List<RuleGroupUpdate> |
getUpdates()
An array of
RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup. |
int |
hashCode() |
void |
setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
void |
setRuleGroupId(String ruleGroupId)
The
RuleGroupId of the RuleGroup that you want to update. |
void |
setUpdates(Collection<RuleGroupUpdate> updates)
An array of
RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup. |
String |
toString()
Returns a string representation of this object.
|
UpdateRuleGroupRequest |
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
UpdateRuleGroupRequest |
withRuleGroupId(String ruleGroupId)
The
RuleGroupId of the RuleGroup that you want to update. |
UpdateRuleGroupRequest |
withUpdates(Collection<RuleGroupUpdate> updates)
An array of
RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup. |
UpdateRuleGroupRequest |
withUpdates(RuleGroupUpdate... updates)
An array of
RuleGroupUpdate objects that you want to insert into or delete from a RuleGroup. |
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 setRuleGroupId(String ruleGroupId)
The RuleGroupId
of the RuleGroup that you want to update. RuleGroupId
is
returned by CreateRuleGroup and by ListRuleGroups.
ruleGroupId
- The RuleGroupId
of the RuleGroup that you want to update. RuleGroupId
is
returned by CreateRuleGroup and by ListRuleGroups.public String getRuleGroupId()
The RuleGroupId
of the RuleGroup that you want to update. RuleGroupId
is
returned by CreateRuleGroup and by ListRuleGroups.
RuleGroupId
of the RuleGroup that you want to update. RuleGroupId
is
returned by CreateRuleGroup and by ListRuleGroups.public UpdateRuleGroupRequest withRuleGroupId(String ruleGroupId)
The RuleGroupId
of the RuleGroup that you want to update. RuleGroupId
is
returned by CreateRuleGroup and by ListRuleGroups.
ruleGroupId
- The RuleGroupId
of the RuleGroup that you want to update. RuleGroupId
is
returned by CreateRuleGroup and by ListRuleGroups.public List<RuleGroupUpdate> getUpdates()
An array of RuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.
You can only insert REGULAR
rules into a rule group.
ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to a
WebACL
. In this case you do not use ActivatedRule|Action
. For all other update
requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
RuleGroupUpdate
objects that you want to insert into or delete from a
RuleGroup.
You can only insert REGULAR
rules into a rule group.
ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to a WebACL
. In this case you do not use ActivatedRule|Action
. For all other
update requests, ActivatedRule|Action
is used instead of
ActivatedRule|OverrideAction
.
public void setUpdates(Collection<RuleGroupUpdate> updates)
An array of RuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.
You can only insert REGULAR
rules into a rule group.
ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to a
WebACL
. In this case you do not use ActivatedRule|Action
. For all other update
requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
updates
- An array of RuleGroupUpdate
objects that you want to insert into or delete from a
RuleGroup.
You can only insert REGULAR
rules into a rule group.
ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to
a WebACL
. In this case you do not use ActivatedRule|Action
. For all other update
requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
public UpdateRuleGroupRequest withUpdates(RuleGroupUpdate... updates)
An array of RuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.
You can only insert REGULAR
rules into a rule group.
ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to a
WebACL
. In this case you do not use ActivatedRule|Action
. For all other update
requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
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 RuleGroupUpdate
objects that you want to insert into or delete from a
RuleGroup.
You can only insert REGULAR
rules into a rule group.
ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to
a WebACL
. In this case you do not use ActivatedRule|Action
. For all other update
requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
public UpdateRuleGroupRequest withUpdates(Collection<RuleGroupUpdate> updates)
An array of RuleGroupUpdate
objects that you want to insert into or delete from a RuleGroup.
You can only insert REGULAR
rules into a rule group.
ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to a
WebACL
. In this case you do not use ActivatedRule|Action
. For all other update
requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
updates
- An array of RuleGroupUpdate
objects that you want to insert into or delete from a
RuleGroup.
You can only insert REGULAR
rules into a rule group.
ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to
a WebACL
. In this case you do not use ActivatedRule|Action
. For all other update
requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
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 UpdateRuleGroupRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateRuleGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()