Class Change
- java.lang.Object
-
- com.amazonaws.services.route53.model.Change
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Change extends Object implements Serializable, Cloneable
A complex type that contains the information for each change in a change batch request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
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
public Change(String action, ResourceRecordSet resourceRecordSet)
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
public Change(ChangeAction action, ResourceRecordSet resourceRecordSet)
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 Detail
-
setAction
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 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:
ChangeAction
-
getAction
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 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:
ChangeAction
-
withAction
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 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:
ChangeAction
-
setAction
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 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:
ChangeAction
-
withAction
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 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:
ChangeAction
-
setResourceRecordSet
public void setResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.
- Parameters:
resourceRecordSet
- Information about the resource record set to create or delete.
-
getResourceRecordSet
public ResourceRecordSet getResourceRecordSet()
Information about the resource record set to create or delete.
- Returns:
- Information about the resource record set to create or delete.
-
withResourceRecordSet
public Change withResourceRecordSet(ResourceRecordSet resourceRecordSet)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-