public class UpdateWebACLRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
changeToken
The value returned by the most recent call to GetChangeToken.
|
private WafAction |
defaultAction |
private java.util.List<WebACLUpdate> |
updates
An array of updates to make to the WebACL.
|
private java.lang.String |
webACLId
The
WebACLId of the WebACL that you want to update. |
NOOP
Constructor and Description |
---|
UpdateWebACLRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateWebACLRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChangeToken()
The value returned by the most recent call to GetChangeToken.
|
WafAction |
getDefaultAction() |
java.util.List<WebACLUpdate> |
getUpdates()
An array of updates to make to the WebACL.
|
java.lang.String |
getWebACLId()
The
WebACLId of the WebACL that you want to update. |
int |
hashCode() |
void |
setChangeToken(java.lang.String changeToken)
The value returned by the most recent call to GetChangeToken.
|
void |
setDefaultAction(WafAction defaultAction) |
void |
setUpdates(java.util.Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.
|
void |
setWebACLId(java.lang.String webACLId)
The
WebACLId of the WebACL that you want to update. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateWebACLRequest |
withChangeToken(java.lang.String changeToken)
The value returned by the most recent call to GetChangeToken.
|
UpdateWebACLRequest |
withDefaultAction(WafAction defaultAction) |
UpdateWebACLRequest |
withUpdates(java.util.Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.
|
UpdateWebACLRequest |
withUpdates(WebACLUpdate... updates)
An array of updates to make to the WebACL.
|
UpdateWebACLRequest |
withWebACLId(java.lang.String webACLId)
The
WebACLId of the WebACL that you want to update. |
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
private java.lang.String webACLId
The WebACLId
of the WebACL that you want to update.
WebACLId
is returned by CreateWebACL and by
ListWebACLs.
private java.lang.String changeToken
The value returned by the most recent call to GetChangeToken.
private java.util.List<WebACLUpdate> updates
An array of updates to make to the WebACL.
An array of WebACLUpdate
objects that you want to insert
into or delete from a WebACL. For more information, see the
applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
Type
private WafAction defaultAction
public void setWebACLId(java.lang.String webACLId)
The WebACLId
of the WebACL that you want to update.
WebACLId
is returned by CreateWebACL and by
ListWebACLs.
webACLId
- The WebACLId
of the WebACL that you want to
update. WebACLId
is returned by CreateWebACL
and by ListWebACLs.public java.lang.String getWebACLId()
The WebACLId
of the WebACL that you want to update.
WebACLId
is returned by CreateWebACL and by
ListWebACLs.
WebACLId
of the WebACL that you want to
update. WebACLId
is returned by CreateWebACL
and by ListWebACLs.public UpdateWebACLRequest withWebACLId(java.lang.String webACLId)
The WebACLId
of the WebACL that you want to update.
WebACLId
is returned by CreateWebACL and by
ListWebACLs.
webACLId
- The WebACLId
of the WebACL that you want to
update. WebACLId
is returned by CreateWebACL
and by ListWebACLs.public void setChangeToken(java.lang.String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken
- The value returned by the most recent call to
GetChangeToken.public java.lang.String getChangeToken()
The value returned by the most recent call to GetChangeToken.
public UpdateWebACLRequest withChangeToken(java.lang.String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken
- The value returned by the most recent call to
GetChangeToken.public java.util.List<WebACLUpdate> getUpdates()
An array of updates to make to the WebACL.
An array of WebACLUpdate
objects that you want to insert
into or delete from a WebACL. For more information, see the
applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
Type
An array of WebACLUpdate
objects that you want to
insert into or delete from a WebACL. For more information,
see the applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
Type
public void setUpdates(java.util.Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.
An array of WebACLUpdate
objects that you want to insert
into or delete from a WebACL. For more information, see the
applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
Type
updates
- An array of updates to make to the WebACL.
An array of WebACLUpdate
objects that you want to
insert into or delete from a WebACL. For more information,
see the applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
Type
public UpdateWebACLRequest withUpdates(WebACLUpdate... updates)
An array of updates to make to the WebACL.
An array of WebACLUpdate
objects that you want to insert
into or delete from a WebACL. For more information, see the
applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
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 updates to make to the WebACL.
An array of WebACLUpdate
objects that you want to
insert into or delete from a WebACL. For more information,
see the applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
Type
public UpdateWebACLRequest withUpdates(java.util.Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.
An array of WebACLUpdate
objects that you want to insert
into or delete from a WebACL. For more information, see the
applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
Type
updates
- An array of updates to make to the WebACL.
An array of WebACLUpdate
objects that you want to
insert into or delete from a WebACL. For more information,
see the applicable data types:
Action
and
ActivatedRule
Action
,
Priority
, and RuleId
Type
public void setDefaultAction(WafAction defaultAction)
defaultAction
- public WafAction getDefaultAction()
public UpdateWebACLRequest withDefaultAction(WafAction defaultAction)
defaultAction
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateWebACLRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()