@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 that the change request was submitted in ISO
8601 format and Coordinated Universal Time (UTC).
|
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 that the change request was submitted in ISO
8601 format and Coordinated Universal Time (UTC).
|
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 that the change request was submitted in ISO
8601 format and Coordinated Universal Time (UTC).
|
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 that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC).
For example, the value 2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751
UTC.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 that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC).
For example, the value 2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751
UTC.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 that the change request was submitted in ISO
8601 format and Coordinated Universal Time (UTC). For example, the value
2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751 UTC.
submittedAt
- The date and time that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC).
For example, the value 2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751
UTC.public Date getSubmittedAt()
The date and time that the change request was submitted in ISO
8601 format and Coordinated Universal Time (UTC). For example, the value
2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751 UTC.
2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751
UTC.public ChangeInfo withSubmittedAt(Date submittedAt)
The date and time that the change request was submitted in ISO
8601 format and Coordinated Universal Time (UTC). For example, the value
2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751 UTC.
submittedAt
- The date and time that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC).
For example, the value 2017-03-27T17:48:16.751Z
represents March 27, 2017 at 17:48:16.751
UTC.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.