public class ChangeInfo extends Object implements Serializable, Cloneable
A complex type that describes change information about changes made to your hosted zone.
Constructor and Description |
---|
ChangeInfo()
Default constructor for ChangeInfo object.
|
ChangeInfo(String id,
ChangeStatus status,
Date submittedAt)
Constructs a new ChangeInfo object.
|
ChangeInfo(String id,
String status,
Date submittedAt)
Constructs a new ChangeInfo object.
|
Modifier and Type | Method and Description |
---|---|
ChangeInfo |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
A complex type that describes change information about changes made to your hosted zone.
|
String |
getId()
The ID of the request.
|
String |
getStatus()
The current state of the request.
|
Date |
getSubmittedAt()
The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ . |
int |
hashCode() |
void |
setComment(String comment)
A complex type that describes change information about changes made to your hosted zone.
|
void |
setId(String id)
The ID of the request.
|
void |
setStatus(ChangeStatus status)
The current state of the request.
|
void |
setStatus(String status)
The current state of the request.
|
void |
setSubmittedAt(Date submittedAt)
The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ChangeInfo |
withComment(String comment)
A complex type that describes change information about changes made to your hosted zone.
|
ChangeInfo |
withId(String id)
The ID of the request.
|
ChangeInfo |
withStatus(ChangeStatus status)
The current state of the request.
|
ChangeInfo |
withStatus(String status)
The current state of the request.
|
ChangeInfo |
withSubmittedAt(Date submittedAt)
The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ . |
public ChangeInfo()
public ChangeInfo(String id, String status, Date submittedAt)
id
- The ID of the request.status
- The current state of the request. PENDING
indicates that this request has not yet been
applied to all Amazon Route 53 DNS servers.submittedAt
- The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.public ChangeInfo(String id, ChangeStatus status, Date submittedAt)
id
- The ID of the request.status
- The current state of the request. PENDING
indicates that this request has not yet been
applied to all Amazon Route 53 DNS servers.submittedAt
- The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.public void setId(String id)
The ID of the request.
id
- The ID of the request.public String getId()
The ID of the request.
public ChangeInfo withId(String id)
The ID of the request.
id
- The ID of the request.public void setStatus(String status)
The current state of the request. PENDING
indicates that this request has not yet been applied to
all Amazon Route 53 DNS servers.
status
- The current state of the request. PENDING
indicates that this request has not yet been
applied to all Amazon Route 53 DNS servers.ChangeStatus
public String getStatus()
The current state of the request. PENDING
indicates that this request has not yet been applied to
all Amazon Route 53 DNS servers.
PENDING
indicates that this request has not yet been
applied to all Amazon Route 53 DNS servers.ChangeStatus
public ChangeInfo withStatus(String status)
The current state of the request. PENDING
indicates that this request has not yet been applied to
all Amazon Route 53 DNS servers.
status
- The current state of the request. PENDING
indicates that this request has not yet been
applied to all Amazon Route 53 DNS servers.ChangeStatus
public void setStatus(ChangeStatus status)
The current state of the request. PENDING
indicates that this request has not yet been applied to
all Amazon Route 53 DNS servers.
status
- The current state of the request. PENDING
indicates that this request has not yet been
applied to all Amazon Route 53 DNS servers.ChangeStatus
public ChangeInfo withStatus(ChangeStatus status)
The current state of the request. PENDING
indicates that this request has not yet been applied to
all Amazon Route 53 DNS servers.
status
- The current state of the request. PENDING
indicates that this request has not yet been
applied to all Amazon Route 53 DNS servers.ChangeStatus
public void setSubmittedAt(Date submittedAt)
The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.
submittedAt
- The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.public Date getSubmittedAt()
The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.
YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.public ChangeInfo withSubmittedAt(Date submittedAt)
The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.
submittedAt
- The date and time the change request was submitted, in Coordinated Universal Time (UTC) format:
YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.public void setComment(String comment)
A complex type that describes change information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
comment
- A complex type that describes change information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
public String getComment()
A complex type that describes change information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
public ChangeInfo withComment(String comment)
A complex type that describes change information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
comment
- A complex type that describes change information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
public String toString()
toString
in class Object
Object.toString()
public ChangeInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.