Class Change
java.lang.Object
com.amazonaws.services.route53.model.Change
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that contains the information for each change in a change batch request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChange()
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. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The action to perform:Information about the resource record set to create or delete.int
hashCode()
void
setAction
(ChangeAction action) The action to perform:void
The action to perform:void
setResourceRecordSet
(ResourceRecordSet resourceRecordSet) Information about the resource record set to create or delete.toString()
Returns a string representation of this object; useful for testing and debugging.withAction
(ChangeAction action) The action to perform:withAction
(String action) The action to perform:withResourceRecordSet
(ResourceRecordSet resourceRecordSet) Information about the resource record set to create or delete.
-
Constructor Details
-
Change
public Change()Default constructor for Change object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
Change
Constructs a new Change object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
resourceRecordSet
- Information about the resource record set to create or delete.
-
Change
Constructs a new Change object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
resourceRecordSet
- Information about the resource record set to create or delete.
-
-
Method Details
-
setAction
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- Parameters:
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- See Also:
-
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- Returns:
- 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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- See Also:
-
withAction
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- Parameters:
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAction
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- Parameters:
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- See Also:
-
withAction
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- Parameters:
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 forName
,Type
,SetIdentifier
(for latency, weighted, geolocation, and failover resource record sets), andTTL
(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
, andSetIdentifier
(for weighted, latency, geolocation, and failover resource record sets).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceRecordSet
Information about the resource record set to create or delete.
- Parameters:
resourceRecordSet
- Information about the resource record set to create or delete.
-
getResourceRecordSet
Information about the resource record set to create or delete.
- Returns:
- Information about the resource record set to create or delete.
-
withResourceRecordSet
Information about the resource record set to create or delete.
- Parameters:
resourceRecordSet
- Information about the resource record set to create or delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-