public class ChangeResourceRecordSetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ChangeResourceRecordSets operation.
Use this action to create or change your authoritative DNS
information. To use this action, send a POST request to
the 2013-04-01/hostedzone/hosted Zone ID/rrset resource.
The request body must include an XML document with a
ChangeResourceRecordSetsRequest element.
Changes are a list of change items and are considered transactional. For more information on transactional changes, also known as change batches, see POST ChangeResourceRecordSets in the Amazon Route 53 API Reference .
IMPORTANT:Due to the nature of transactional changes, you cannot delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an InvalidChangeBatch error.
In response to a ChangeResourceRecordSets request, your
DNS data is changed on all Amazon Route 53 DNS servers. Initially, the
status of a change is PENDING . This means the change has
not yet propagated to all the authoritative Amazon Route 53 DNS
servers. When the change is propagated to all hosts, the change
returns a status of INSYNC .
Note the following limitations on a
ChangeResourceRecordSets request:
Value elements in a request cannot exceed 32,000
characters.NOOP| Constructor and Description |
|---|
ChangeResourceRecordSetsRequest()
Default constructor for a new ChangeResourceRecordSetsRequest object.
|
ChangeResourceRecordSetsRequest(String hostedZoneId,
ChangeBatch changeBatch)
Constructs a new ChangeResourceRecordSetsRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
ChangeResourceRecordSetsRequest |
clone() |
boolean |
equals(Object obj) |
ChangeBatch |
getChangeBatch()
A complex type that contains an optional comment and the
Changes element. |
String |
getHostedZoneId()
The ID of the hosted zone that contains the resource record sets that
you want to change.
|
int |
hashCode() |
void |
setChangeBatch(ChangeBatch changeBatch)
A complex type that contains an optional comment and the
Changes element. |
void |
setHostedZoneId(String hostedZoneId)
The ID of the hosted zone that contains the resource record sets that
you want to change.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChangeResourceRecordSetsRequest |
withChangeBatch(ChangeBatch changeBatch)
A complex type that contains an optional comment and the
Changes element. |
ChangeResourceRecordSetsRequest |
withHostedZoneId(String hostedZoneId)
The ID of the hosted zone that contains the resource record sets that
you want to change.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ChangeResourceRecordSetsRequest()
public ChangeResourceRecordSetsRequest(String hostedZoneId, ChangeBatch changeBatch)
hostedZoneId - The ID of the hosted zone that contains the
resource record sets that you want to change.changeBatch - A complex type that contains an optional comment
and the Changes element.public String getHostedZoneId()
Constraints:
Length: 0 - 32
public void setHostedZoneId(String hostedZoneId)
Constraints:
Length: 0 - 32
hostedZoneId - The ID of the hosted zone that contains the resource record sets that
you want to change.public ChangeResourceRecordSetsRequest withHostedZoneId(String hostedZoneId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
hostedZoneId - The ID of the hosted zone that contains the resource record sets that
you want to change.public ChangeBatch getChangeBatch()
Changes element.Changes element.public void setChangeBatch(ChangeBatch changeBatch)
Changes element.changeBatch - A complex type that contains an optional comment and the
Changes element.public ChangeResourceRecordSetsRequest withChangeBatch(ChangeBatch changeBatch)
Changes element.
Returns a reference to this object so that method calls can be chained together.
changeBatch - A complex type that contains an optional comment and the
Changes element.public String toString()
toString in class ObjectObject.toString()public ChangeResourceRecordSetsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.