public class Change
extends java.lang.Object
implements java.io.Serializable
A complex type that contains the information for each change in a change batch request.
| コンストラクタと説明 |
|---|
Change()
Default constructor for a new Change object.
|
Change(ChangeAction action,
ResourceRecordSet resourceRecordSet)
Constructs a new Change object.
|
Change(java.lang.String action,
ResourceRecordSet resourceRecordSet)
Constructs a new Change object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.String action)
The action to perform.
|
void |
setResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Change |
withAction(ChangeAction action)
The action to perform.
|
Change |
withAction(java.lang.String action)
The action to perform.
|
Change |
withResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.
|
public Change()
public Change(java.lang.String action,
ResourceRecordSet resourceRecordSet)
action - The action to perform. Valid values:
CREATE | DELETE
resourceRecordSet - Information about the resource record set to
create or delete.public Change(ChangeAction action, ResourceRecordSet resourceRecordSet)
action - The action to perform. Valid values:
CREATE | DELETE
resourceRecordSet - Information about the resource record set to
create or delete.public java.lang.String getAction()
Valid values: CREATE |
DELETE
Constraints:
Allowed Values: CREATE, DELETE
Valid values: CREATE |
DELETE
ChangeActionpublic void setAction(java.lang.String action)
Valid values: CREATE |
DELETE
Constraints:
Allowed Values: CREATE, DELETE
action - The action to perform. Valid values: CREATE |
DELETE
ChangeActionpublic Change withAction(java.lang.String action)
Valid values: CREATE |
DELETE
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE, DELETE
action - The action to perform. Valid values: CREATE |
DELETE
ChangeActionpublic void setAction(ChangeAction action)
Valid values: CREATE |
DELETE
Constraints:
Allowed Values: CREATE, DELETE
action - The action to perform. Valid values: CREATE |
DELETE
ChangeActionpublic Change withAction(ChangeAction action)
Valid values: CREATE |
DELETE
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE, DELETE
action - The action to perform. Valid values: CREATE |
DELETE
ChangeActionpublic ResourceRecordSet getResourceRecordSet()
public void setResourceRecordSet(ResourceRecordSet resourceRecordSet)
resourceRecordSet - Information about the resource record set to create or delete.public Change withResourceRecordSet(ResourceRecordSet resourceRecordSet)
Returns a reference to this object so that method calls can be chained together.
resourceRecordSet - Information about the resource record set to create or delete.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object