public class Change extends Object implements Serializable, Cloneable
A complex type that contains the information for each change in a change batch request.
| Constructor and Description |
|---|
Change()
Default constructor for a new Change object.
|
Change(ChangeAction action,
ResourceRecordSet resourceRecordSet)
Constructs a new Change object.
|
Change(String action,
ResourceRecordSet resourceRecordSet)
Constructs a new Change object.
|
| Modifier and Type | Method and Description |
|---|---|
Change |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action to perform:
CREATE: Creates a
resource record set that has the specified values.
DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).
UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. |
ResourceRecordSet |
getResourceRecordSet()
Information about the resource record set to create or delete.
|
int |
hashCode() |
void |
setAction(ChangeAction action)
The action to perform:
CREATE: Creates a
resource record set that has the specified values.
DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).
UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. |
void |
setAction(String action)
The action to perform:
CREATE: Creates a
resource record set that has the specified values.
DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).
UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. |
void |
setResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Change |
withAction(ChangeAction action)
The action to perform:
CREATE: Creates a
resource record set that has the specified values.
DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).
UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. |
Change |
withAction(String action)
The action to perform:
CREATE: Creates a
resource record set that has the specified values.
DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).
UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. |
Change |
withResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.
|
public Change()
public Change(String action, ResourceRecordSet resourceRecordSet)
action - The action to perform: CREATE:
Creates a resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).resourceRecordSet - Information about the resource record set to
create or delete.public Change(ChangeAction action, ResourceRecordSet resourceRecordSet)
action - The action to perform: CREATE:
Creates a resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).resourceRecordSet - Information about the resource record set to
create or delete.public String getAction()
CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).
Constraints:
Allowed Values: CREATE, DELETE, UPSERT
CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).ChangeActionpublic void setAction(String action)
CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).
Constraints:
Allowed Values: CREATE, DELETE, UPSERT
action - The action to perform: CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).ChangeActionpublic Change withAction(String action)
CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE, DELETE, UPSERT
action - The action to perform: CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).ChangeActionpublic void setAction(ChangeAction action)
CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).
Constraints:
Allowed Values: CREATE, DELETE, UPSERT
action - The action to perform: CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).ChangeActionpublic Change withAction(ChangeAction action)
CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE, DELETE, UPSERT
action - The action to perform: CREATE: Creates a
resource record set that has the specified values.DELETE: Deletes a existing resource record set that
has the specified values for Name, Type,
SetIdentifier (for latency, weighted, geolocation, and
failover resource record sets), and TTL (except alias
resource record sets, for which the TTL is determined by the AWS
resource that you're routing DNS queries to).UPSERT: If a resource record set does not already
exist, Amazon Route 53 creates it. If a resource record set does
exist, Amazon Route 53 updates it with the values in the request.
Amazon Route 53 can update an existing resource record set only when
all of the following values match: Name,
Type, and SetIdentifier (for weighted,
latency, geolocation, and failover resource record sets).ChangeActionpublic ResourceRecordSet getResourceRecordSet()
public void setResourceRecordSet(ResourceRecordSet resourceRecordSet)
resourceRecordSet - Information about the resource record set to create or delete.public Change withResourceRecordSet(ResourceRecordSet resourceRecordSet)
Returns a reference to this object so that method calls can be chained together.
resourceRecordSet - Information about the resource record set to create or delete.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.