public class Change extends Object implements Serializable, Cloneable
The information for each resource record set that you want to change.
| Constructor and Description |
|---|
Change()
Default constructor for 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:
|
ResourceRecordSet |
getResourceRecordSet()
Information about the resource record set to create or delete.
|
int |
hashCode() |
void |
setAction(ChangeAction action)
The action to perform:
|
void |
setAction(String action)
The action to perform:
|
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:
|
Change |
withAction(String action)
The action to perform:
|
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
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 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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets, Amazon Route
53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though
it's no longer in use.
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).
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
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 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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets, Amazon Route
53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though
it's no longer in use.
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).
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
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)
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets, Amazon Route
53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though
it's no longer in use.
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).
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
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)
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets, Amazon Route
53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though
it's no longer in use.
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).
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
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)
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets, Amazon Route
53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though
it's no longer in use.
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).
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).
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance . Amazon Route 53will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
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 setResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.
resourceRecordSet - Information about the resource record set to create or delete.public ResourceRecordSet getResourceRecordSet()
Information about the resource record set to create or delete.
public Change withResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.
resourceRecordSet - Information about the resource record set to create or delete.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.