Class ChangeInfo
- java.lang.Object
-
- com.amazonaws.services.route53.model.ChangeInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ChangeInfo extends Object implements Serializable, Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeInfoclone()booleanequals(Object obj)StringgetComment()A complex type that describes change information about changes made to your hosted zone.StringgetId()The ID of the request.StringgetStatus()The current state of the request.DategetSubmittedAt()The date and time the change was submitted, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).inthashCode()voidsetComment(String comment)A complex type that describes change information about changes made to your hosted zone.voidsetId(String id)The ID of the request.voidsetStatus(ChangeStatus status)The current state of the request.voidsetStatus(String status)The current state of the request.voidsetSubmittedAt(Date submittedAt)The date and time the change was submitted, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).StringtoString()Returns a string representation of this object; useful for testing and debugging.ChangeInfowithComment(String comment)A complex type that describes change information about changes made to your hosted zone.ChangeInfowithId(String id)The ID of the request.ChangeInfowithStatus(ChangeStatus status)The current state of the request.ChangeInfowithStatus(String status)The current state of the request.ChangeInfowithSubmittedAt(Date submittedAt)The date and time the change was submitted, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).
-
-
-
Constructor Detail
-
ChangeInfo
public ChangeInfo()
Default constructor for ChangeInfo object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
ChangeInfo
public ChangeInfo(String id, String status, Date submittedAt)
Constructs a new ChangeInfo object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
id- The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.status- The current state of the request.PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNCsubmittedAt- The date and time the change was submitted, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).
-
ChangeInfo
public ChangeInfo(String id, ChangeStatus status, Date submittedAt)
Constructs a new ChangeInfo object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
id- The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.status- The current state of the request.PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNCsubmittedAt- The date and time the change was submitted, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).
-
-
Method Detail
-
setId
public void setId(String id)
The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.
- Parameters:
id- The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.
-
getId
public String getId()
The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.
- Returns:
- The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.
-
withId
public ChangeInfo withId(String id)
The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.
- Parameters:
id- The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The current state of the request.
PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- Parameters:
status- The current state of the request.PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- See Also:
ChangeStatus
-
getStatus
public String getStatus()
The current state of the request.
PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- Returns:
- The current state of the request.
PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC - See Also:
ChangeStatus
-
withStatus
public ChangeInfo withStatus(String status)
The current state of the request.
PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- Parameters:
status- The current state of the request.PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeStatus
-
setStatus
public void setStatus(ChangeStatus status)
The current state of the request.
PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- Parameters:
status- The current state of the request.PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- See Also:
ChangeStatus
-
withStatus
public ChangeInfo withStatus(ChangeStatus status)
The current state of the request.
PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- Parameters:
status- The current state of the request.PENDINGindicates that this request has not yet been applied to all Amazon Route 53 DNS servers.Valid Values:
PENDING|INSYNC- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeStatus
-
setSubmittedAt
public void setSubmittedAt(Date submittedAt)
The date and time the change was submitted, in the format
YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).- Parameters:
submittedAt- The date and time the change was submitted, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).
-
getSubmittedAt
public Date getSubmittedAt()
The date and time the change was submitted, in the format
YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).- Returns:
- The date and time the change was submitted, in the format
YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).
-
withSubmittedAt
public ChangeInfo withSubmittedAt(Date submittedAt)
The date and time the change was submitted, in the format
YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).- Parameters:
submittedAt- The date and time the change was submitted, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
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.
- Parameters:
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.
-
getComment
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.
- Returns:
- 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.
-
withComment
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.
- Parameters:
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.
- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ChangeInfo clone()
-
-