@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateWebACLRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateWebACLRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateWebACLRequest |
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.
|
WafAction |
getDefaultAction()
A default action for the web ACL, either ALLOW or BLOCK.
|
List<WebACLUpdate> |
getUpdates()
An array of updates to make to the WebACL.
|
String |
getWebACLId()
The
WebACLId of the WebACL that you want to update. |
int |
hashCode() |
void |
setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
void |
setDefaultAction(WafAction defaultAction)
A default action for the web ACL, either ALLOW or BLOCK.
|
void |
setUpdates(Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.
|
void |
setWebACLId(String webACLId)
The
WebACLId of the WebACL that you want to update. |
String |
toString()
Returns a string representation of this object.
|
UpdateWebACLRequest |
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
UpdateWebACLRequest |
withDefaultAction(WafAction defaultAction)
A default action for the web ACL, either ALLOW or BLOCK.
|
UpdateWebACLRequest |
withUpdates(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(String webACLId)
The
WebACLId of the WebACL that you want to update. |
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 setWebACLId(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 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(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(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 UpdateWebACLRequest 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<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:
WebACLUpdate: Contains Action
and ActivatedRule
ActivatedRule: Contains Action
, OverrideAction
, Priority
,
RuleId
, and Type
. 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
.
WafAction: Contains 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:
WebACLUpdate: Contains Action
and ActivatedRule
ActivatedRule: Contains Action
, OverrideAction
, Priority
,
RuleId
, and Type
. 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
.
WafAction: Contains Type
public void setUpdates(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:
WebACLUpdate: Contains Action
and ActivatedRule
ActivatedRule: Contains Action
, OverrideAction
, Priority
,
RuleId
, and Type
. 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
.
WafAction: Contains 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:
WebACLUpdate: Contains Action
and ActivatedRule
ActivatedRule: Contains Action
, OverrideAction
, Priority
,
RuleId
, and Type
. 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
.
WafAction: Contains 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:
WebACLUpdate: Contains Action
and ActivatedRule
ActivatedRule: Contains Action
, OverrideAction
, Priority
,
RuleId
, and Type
. 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
.
WafAction: Contains 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:
WebACLUpdate: Contains Action
and ActivatedRule
ActivatedRule: Contains Action
, OverrideAction
, Priority
,
RuleId
, and Type
. 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
.
WafAction: Contains Type
public UpdateWebACLRequest withUpdates(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:
WebACLUpdate: Contains Action
and ActivatedRule
ActivatedRule: Contains Action
, OverrideAction
, Priority
,
RuleId
, and Type
. 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
.
WafAction: Contains 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:
WebACLUpdate: Contains Action
and ActivatedRule
ActivatedRule: Contains Action
, OverrideAction
, Priority
,
RuleId
, and Type
. 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
.
WafAction: Contains Type
public void setDefaultAction(WafAction defaultAction)
A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.
defaultAction
- A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request
doesn't match the criteria in any of the rules in a web ACL.public WafAction getDefaultAction()
A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.
public UpdateWebACLRequest withDefaultAction(WafAction defaultAction)
A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.
defaultAction
- A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request
doesn't match the criteria in any of the rules in a web ACL.public String toString()
toString
in class Object
Object.toString()
public UpdateWebACLRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()