Class UpdateWebACLRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.waf.model.UpdateWebACLRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class UpdateWebACLRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateWebACLRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateWebACLRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getChangeToken()
The value returned by the most recent call to GetChangeToken.WafAction
getDefaultAction()
List<WebACLUpdate>
getUpdates()
An array of updates to make to the WebACL.String
getWebACLId()
TheWebACLId
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)
void
setUpdates(Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.void
setWebACLId(String webACLId)
TheWebACLId
of the WebACL that you want to update.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateWebACLRequest
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.UpdateWebACLRequest
withDefaultAction(WafAction defaultAction)
UpdateWebACLRequest
withUpdates(WebACLUpdate... updates)
An array of updates to make to the WebACL.UpdateWebACLRequest
withUpdates(Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.UpdateWebACLRequest
withWebACLId(String webACLId)
TheWebACLId
of the WebACL that you want to update.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setWebACLId
public void setWebACLId(String webACLId)
The
WebACLId
of the WebACL that you want to update.WebACLId
is returned by CreateWebACL and by ListWebACLs.- Parameters:
webACLId
- TheWebACLId
of the WebACL that you want to update.WebACLId
is returned by CreateWebACL and by ListWebACLs.
-
getWebACLId
public String getWebACLId()
The
WebACLId
of the WebACL that you want to update.WebACLId
is returned by CreateWebACL and by ListWebACLs.- Returns:
- The
WebACLId
of the WebACL that you want to update.WebACLId
is returned by CreateWebACL and by ListWebACLs.
-
withWebACLId
public UpdateWebACLRequest withWebACLId(String webACLId)
The
WebACLId
of the WebACL that you want to update.WebACLId
is returned by CreateWebACL and by ListWebACLs.- Parameters:
webACLId
- TheWebACLId
of the WebACL that you want to update.WebACLId
is returned by CreateWebACL and by ListWebACLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeToken
public void setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.
-
getChangeToken
public String getChangeToken()
The value returned by the most recent call to GetChangeToken.
- Returns:
- The value returned by the most recent call to GetChangeToken.
-
withChangeToken
public UpdateWebACLRequest withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUpdates
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
andActivatedRule
- ActivatedRule: Contains
Action
,Priority
, andRuleId
- WafAction: Contains
Type
- Returns:
- 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
andActivatedRule
- ActivatedRule: Contains
Action
,Priority
, andRuleId
- WafAction: Contains
Type
- WebACLUpdate: Contains
- WebACLUpdate: Contains
-
setUpdates
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
andActivatedRule
- ActivatedRule: Contains
Action
,Priority
, andRuleId
- WafAction: Contains
Type
- Parameters:
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
andActivatedRule
- ActivatedRule: Contains
Action
,Priority
, andRuleId
- WafAction: Contains
Type
- WebACLUpdate: Contains
- WebACLUpdate: Contains
-
withUpdates
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
andActivatedRule
- ActivatedRule: Contains
Action
,Priority
, andRuleId
- WafAction: Contains
Type
NOTE: This method appends the values to the existing list (if any). Use
setUpdates(java.util.Collection)
orwithUpdates(java.util.Collection)
if you want to override the existing values.- Parameters:
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
andActivatedRule
- ActivatedRule: Contains
Action
,Priority
, andRuleId
- WafAction: Contains
Type
- WebACLUpdate: Contains
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- WebACLUpdate: Contains
-
withUpdates
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
andActivatedRule
- ActivatedRule: Contains
Action
,Priority
, andRuleId
- WafAction: Contains
Type
- Parameters:
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
andActivatedRule
- ActivatedRule: Contains
Action
,Priority
, andRuleId
- WafAction: Contains
Type
- WebACLUpdate: Contains
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- WebACLUpdate: Contains
-
setDefaultAction
public void setDefaultAction(WafAction defaultAction)
- Parameters:
defaultAction
-
-
getDefaultAction
public WafAction getDefaultAction()
- Returns:
-
withDefaultAction
public UpdateWebACLRequest withDefaultAction(WafAction defaultAction)
- Parameters:
defaultAction
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateWebACLRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-