public class UpdateIPSetRequest 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 java.lang.String |
iPSetId
The
IPSetId of the IPSet that you want to update. |
private java.util.List<IPSetUpdate> |
updates
An array of
IPSetUpdate objects that you want to insert into
or delete from an IPSet. |
NOOP
Constructor and Description |
---|
UpdateIPSetRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateIPSetRequest |
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.
|
java.lang.String |
getIPSetId()
The
IPSetId of the IPSet that you want to update. |
java.util.List<IPSetUpdate> |
getUpdates()
An array of
IPSetUpdate objects that you want to insert into
or delete from an IPSet. |
int |
hashCode() |
void |
setChangeToken(java.lang.String changeToken)
The value returned by the most recent call to GetChangeToken.
|
void |
setIPSetId(java.lang.String iPSetId)
The
IPSetId of the IPSet that you want to update. |
void |
setUpdates(java.util.Collection<IPSetUpdate> updates)
An array of
IPSetUpdate objects that you want to insert into
or delete from an IPSet. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateIPSetRequest |
withChangeToken(java.lang.String changeToken)
The value returned by the most recent call to GetChangeToken.
|
UpdateIPSetRequest |
withIPSetId(java.lang.String iPSetId)
The
IPSetId of the IPSet that you want to update. |
UpdateIPSetRequest |
withUpdates(java.util.Collection<IPSetUpdate> updates)
An array of
IPSetUpdate objects that you want to insert into
or delete from an IPSet. |
UpdateIPSetRequest |
withUpdates(IPSetUpdate... updates)
An array of
IPSetUpdate objects that you want to insert into
or delete from an IPSet. |
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 iPSetId
The IPSetId
of the IPSet that you want to update.
IPSetId
is returned by CreateIPSet and by
ListIPSets.
private java.lang.String changeToken
The value returned by the most recent call to GetChangeToken.
private java.util.List<IPSetUpdate> updates
An array of IPSetUpdate
objects that you want to insert into
or delete from an IPSet. For more information, see the applicable
data types:
Action
and
IPSetDescriptor
Type
and
Value
public void setIPSetId(java.lang.String iPSetId)
The IPSetId
of the IPSet that you want to update.
IPSetId
is returned by CreateIPSet and by
ListIPSets.
iPSetId
- The IPSetId
of the IPSet that you want to
update. IPSetId
is returned by CreateIPSet and
by ListIPSets.public java.lang.String getIPSetId()
The IPSetId
of the IPSet that you want to update.
IPSetId
is returned by CreateIPSet and by
ListIPSets.
IPSetId
of the IPSet that you want to
update. IPSetId
is returned by CreateIPSet
and by ListIPSets.public UpdateIPSetRequest withIPSetId(java.lang.String iPSetId)
The IPSetId
of the IPSet that you want to update.
IPSetId
is returned by CreateIPSet and by
ListIPSets.
iPSetId
- The IPSetId
of the IPSet that you want to
update. IPSetId
is returned by CreateIPSet and
by ListIPSets.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 UpdateIPSetRequest 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<IPSetUpdate> getUpdates()
An array of IPSetUpdate
objects that you want to insert into
or delete from an IPSet. For more information, see the applicable
data types:
Action
and
IPSetDescriptor
Type
and
Value
IPSetUpdate
objects that you want to
insert into or delete from an IPSet. For more information,
see the applicable data types:
Action
and
IPSetDescriptor
Type
and
Value
public void setUpdates(java.util.Collection<IPSetUpdate> updates)
An array of IPSetUpdate
objects that you want to insert into
or delete from an IPSet. For more information, see the applicable
data types:
Action
and
IPSetDescriptor
Type
and
Value
updates
- An array of IPSetUpdate
objects that you want to
insert into or delete from an IPSet. For more information,
see the applicable data types:
Action
and
IPSetDescriptor
Type
and
Value
public UpdateIPSetRequest withUpdates(IPSetUpdate... updates)
An array of IPSetUpdate
objects that you want to insert into
or delete from an IPSet. For more information, see the applicable
data types:
Action
and
IPSetDescriptor
Type
and
Value
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 IPSetUpdate
objects that you want to
insert into or delete from an IPSet. For more information,
see the applicable data types:
Action
and
IPSetDescriptor
Type
and
Value
public UpdateIPSetRequest withUpdates(java.util.Collection<IPSetUpdate> updates)
An array of IPSetUpdate
objects that you want to insert into
or delete from an IPSet. For more information, see the applicable
data types:
Action
and
IPSetDescriptor
Type
and
Value
updates
- An array of IPSetUpdate
objects that you want to
insert into or delete from an IPSet. For more information,
see the applicable data types:
Action
and
IPSetDescriptor
Type
and
Value
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 UpdateIPSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()