@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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, delete, or update.
|
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, delete, or update.
|
String |
toString()
Returns a string representation of this object.
|
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, delete, or update.
|
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.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If
you delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource
record set does exist, Route 53 updates it with the values in the request.
resourceRecordSet
- Information about the resource record set to create, delete, or update.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.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If
you delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource
record set does exist, Route 53 updates it with the values in the request.
resourceRecordSet
- Information about the resource record set to create, delete, or update.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.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you
delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource record
set does exist, Route 53 updates it with the values in the request.
action
- The action to perform:
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If
you delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource
record set does exist, Route 53 updates it with the values in the request.
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.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you
delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource record
set does exist, Route 53 updates it with the values in the request.
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If
you delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource
record set does exist, Route 53 updates it with the values in the request.
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.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you
delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource record
set does exist, Route 53 updates it with the values in the request.
action
- The action to perform:
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If
you delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource
record set does exist, Route 53 updates it with the values in the request.
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.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you
delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource record
set does exist, Route 53 updates it with the values in the request.
action
- The action to perform:
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If
you delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource
record set does exist, Route 53 updates it with the values in the request.
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.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you
delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource record
set does exist, Route 53 updates it with the values in the request.
action
- The action to perform:
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If
you delete the resource record set by using ChangeResourceRecordSets
, 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 doesn't already exist, Route 53 creates it. If a resource
record set does exist, Route 53 updates it with the values in the request.
ChangeAction
public void setResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create, delete, or update.
resourceRecordSet
- Information about the resource record set to create, delete, or update.public ResourceRecordSet getResourceRecordSet()
Information about the resource record set to create, delete, or update.
public Change withResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create, delete, or update.
resourceRecordSet
- Information about the resource record set to create, delete, or update.public String toString()
toString
in class Object
Object.toString()