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 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).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 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. 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).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).ChangeAction
public 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. 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).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).ChangeAction
public 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. 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).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).ChangeAction
public 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. 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).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).ChangeAction
public 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. 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).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).ChangeAction
public 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 Object
Object.toString()
Copyright © 2018. All rights reserved.