Class UpdateIPSetRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.waf.model.UpdateIPSetRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateIPSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateIPSetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateIPSetRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetChangeToken()The value returned by the most recent call to GetChangeToken.StringgetIPSetId()TheIPSetIdof the IPSet that you want to update.List<IPSetUpdate>getUpdates()An array ofIPSetUpdateobjects that you want to insert into or delete from an IPSet.inthashCode()voidsetChangeToken(String changeToken)The value returned by the most recent call to GetChangeToken.voidsetIPSetId(String iPSetId)TheIPSetIdof the IPSet that you want to update.voidsetUpdates(Collection<IPSetUpdate> updates)An array ofIPSetUpdateobjects that you want to insert into or delete from an IPSet.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateIPSetRequestwithChangeToken(String changeToken)The value returned by the most recent call to GetChangeToken.UpdateIPSetRequestwithIPSetId(String iPSetId)TheIPSetIdof the IPSet that you want to update.UpdateIPSetRequestwithUpdates(IPSetUpdate... updates)An array ofIPSetUpdateobjects that you want to insert into or delete from an IPSet.UpdateIPSetRequestwithUpdates(Collection<IPSetUpdate> updates)An array ofIPSetUpdateobjects that you want to insert into or delete from an IPSet.-
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
-
setIPSetId
public void setIPSetId(String iPSetId)
The
IPSetIdof the IPSet that you want to update.IPSetIdis returned by CreateIPSet and by ListIPSets.- Parameters:
iPSetId- TheIPSetIdof the IPSet that you want to update.IPSetIdis returned by CreateIPSet and by ListIPSets.
-
getIPSetId
public String getIPSetId()
The
IPSetIdof the IPSet that you want to update.IPSetIdis returned by CreateIPSet and by ListIPSets.- Returns:
- The
IPSetIdof the IPSet that you want to update.IPSetIdis returned by CreateIPSet and by ListIPSets.
-
withIPSetId
public UpdateIPSetRequest withIPSetId(String iPSetId)
The
IPSetIdof the IPSet that you want to update.IPSetIdis returned by CreateIPSet and by ListIPSets.- Parameters:
iPSetId- TheIPSetIdof the IPSet that you want to update.IPSetIdis returned by CreateIPSet and by ListIPSets.- 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 UpdateIPSetRequest 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<IPSetUpdate> getUpdates()
An array of
IPSetUpdateobjects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:- IPSetUpdate: Contains
ActionandIPSetDescriptor - IPSetDescriptor: Contains
TypeandValue
- Returns:
- An array of
IPSetUpdateobjects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:- IPSetUpdate: Contains
ActionandIPSetDescriptor - IPSetDescriptor: Contains
TypeandValue
- IPSetUpdate: Contains
- IPSetUpdate: Contains
-
setUpdates
public void setUpdates(Collection<IPSetUpdate> updates)
An array of
IPSetUpdateobjects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:- IPSetUpdate: Contains
ActionandIPSetDescriptor - IPSetDescriptor: Contains
TypeandValue
- Parameters:
updates- An array ofIPSetUpdateobjects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:- IPSetUpdate: Contains
ActionandIPSetDescriptor - IPSetDescriptor: Contains
TypeandValue
- IPSetUpdate: Contains
- IPSetUpdate: Contains
-
withUpdates
public UpdateIPSetRequest withUpdates(IPSetUpdate... updates)
An array of
IPSetUpdateobjects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:- IPSetUpdate: Contains
ActionandIPSetDescriptor - IPSetDescriptor: Contains
TypeandValue
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 ofIPSetUpdateobjects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:- IPSetUpdate: Contains
ActionandIPSetDescriptor - IPSetDescriptor: Contains
TypeandValue
- IPSetUpdate: Contains
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- IPSetUpdate: Contains
-
withUpdates
public UpdateIPSetRequest withUpdates(Collection<IPSetUpdate> updates)
An array of
IPSetUpdateobjects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:- IPSetUpdate: Contains
ActionandIPSetDescriptor - IPSetDescriptor: Contains
TypeandValue
- Parameters:
updates- An array ofIPSetUpdateobjects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:- IPSetUpdate: Contains
ActionandIPSetDescriptor - IPSetDescriptor: Contains
TypeandValue
- IPSetUpdate: Contains
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- IPSetUpdate: Contains
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateIPSetRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-