@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChangeCidrCollectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ChangeCidrCollectionRequest() |
Modifier and Type | Method and Description |
---|---|
ChangeCidrCollectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<CidrCollectionChange> |
getChanges()
Information about changes to a CIDR collection.
|
Long |
getCollectionVersion()
A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time
you update the collection.
|
String |
getId()
The UUID of the CIDR collection to update.
|
int |
hashCode() |
void |
setChanges(Collection<CidrCollectionChange> changes)
Information about changes to a CIDR collection.
|
void |
setCollectionVersion(Long collectionVersion)
A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time
you update the collection.
|
void |
setId(String id)
The UUID of the CIDR collection to update.
|
String |
toString()
Returns a string representation of this object.
|
ChangeCidrCollectionRequest |
withChanges(CidrCollectionChange... changes)
Information about changes to a CIDR collection.
|
ChangeCidrCollectionRequest |
withChanges(Collection<CidrCollectionChange> changes)
Information about changes to a CIDR collection.
|
ChangeCidrCollectionRequest |
withCollectionVersion(Long collectionVersion)
A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time
you update the collection.
|
ChangeCidrCollectionRequest |
withId(String id)
The UUID of the CIDR collection 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 setId(String id)
The UUID of the CIDR collection to update.
id
- The UUID of the CIDR collection to update.public String getId()
The UUID of the CIDR collection to update.
public ChangeCidrCollectionRequest withId(String id)
The UUID of the CIDR collection to update.
id
- The UUID of the CIDR collection to update.public void setCollectionVersion(Long collectionVersion)
A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time you update the collection.
We recommend that you use ListCidrCollection
to get the current value of
CollectionVersion
for the collection that you want to update, and then include that value with the
change request. This prevents Route 53 from overwriting an intervening update:
If the value in the request matches the value of CollectionVersion
in the collection, Route 53
updates the collection.
If the value of CollectionVersion
in the collection is greater than the value in the request, the
collection was changed after you got the version number. Route 53 does not update the collection, and it returns
a CidrCollectionVersionMismatch
error.
collectionVersion
- A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1
each time you update the collection.
We recommend that you use ListCidrCollection
to get the current value of
CollectionVersion
for the collection that you want to update, and then include that value
with the change request. This prevents Route 53 from overwriting an intervening update:
If the value in the request matches the value of CollectionVersion
in the collection,
Route 53 updates the collection.
If the value of CollectionVersion
in the collection is greater than the value in the request,
the collection was changed after you got the version number. Route 53 does not update the collection, and
it returns a CidrCollectionVersionMismatch
error.
public Long getCollectionVersion()
A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time you update the collection.
We recommend that you use ListCidrCollection
to get the current value of
CollectionVersion
for the collection that you want to update, and then include that value with the
change request. This prevents Route 53 from overwriting an intervening update:
If the value in the request matches the value of CollectionVersion
in the collection, Route 53
updates the collection.
If the value of CollectionVersion
in the collection is greater than the value in the request, the
collection was changed after you got the version number. Route 53 does not update the collection, and it returns
a CidrCollectionVersionMismatch
error.
We recommend that you use ListCidrCollection
to get the current value of
CollectionVersion
for the collection that you want to update, and then include that value
with the change request. This prevents Route 53 from overwriting an intervening update:
If the value in the request matches the value of CollectionVersion
in the collection,
Route 53 updates the collection.
If the value of CollectionVersion
in the collection is greater than the value in the
request, the collection was changed after you got the version number. Route 53 does not update the
collection, and it returns a CidrCollectionVersionMismatch
error.
public ChangeCidrCollectionRequest withCollectionVersion(Long collectionVersion)
A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time you update the collection.
We recommend that you use ListCidrCollection
to get the current value of
CollectionVersion
for the collection that you want to update, and then include that value with the
change request. This prevents Route 53 from overwriting an intervening update:
If the value in the request matches the value of CollectionVersion
in the collection, Route 53
updates the collection.
If the value of CollectionVersion
in the collection is greater than the value in the request, the
collection was changed after you got the version number. Route 53 does not update the collection, and it returns
a CidrCollectionVersionMismatch
error.
collectionVersion
- A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1
each time you update the collection.
We recommend that you use ListCidrCollection
to get the current value of
CollectionVersion
for the collection that you want to update, and then include that value
with the change request. This prevents Route 53 from overwriting an intervening update:
If the value in the request matches the value of CollectionVersion
in the collection,
Route 53 updates the collection.
If the value of CollectionVersion
in the collection is greater than the value in the request,
the collection was changed after you got the version number. Route 53 does not update the collection, and
it returns a CidrCollectionVersionMismatch
error.
public List<CidrCollectionChange> getChanges()
Information about changes to a CIDR collection.
public void setChanges(Collection<CidrCollectionChange> changes)
Information about changes to a CIDR collection.
changes
- Information about changes to a CIDR collection.public ChangeCidrCollectionRequest withChanges(CidrCollectionChange... changes)
Information about changes to a CIDR collection.
NOTE: This method appends the values to the existing list (if any). Use
setChanges(java.util.Collection)
or withChanges(java.util.Collection)
if you want to override
the existing values.
changes
- Information about changes to a CIDR collection.public ChangeCidrCollectionRequest withChanges(Collection<CidrCollectionChange> changes)
Information about changes to a CIDR collection.
changes
- Information about changes to a CIDR collection.public String toString()
toString
in class Object
Object.toString()
public ChangeCidrCollectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()