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:
  • Constructor Details

    • 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. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.

      Valid Values: PENDING | INSYNC

      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). The Z after 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. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.

      Valid Values: PENDING | INSYNC

      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). The Z after the time indicates that the time is listed in Coordinated Universal Time (UTC).
  • Method Details

    • 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. PENDING indicates 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. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.

      Valid Values: PENDING | INSYNC

      See Also:
    • getStatus

      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.

      Valid Values: PENDING | INSYNC

      Returns:
      The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.

      Valid Values: PENDING | INSYNC

      See Also:
    • withStatus

      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.

      Valid Values: PENDING | INSYNC

      Parameters:
      status - The current state of the request. PENDING indicates 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:
    • setStatus

      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.

      Valid Values: PENDING | INSYNC

      Parameters:
      status - The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.

      Valid Values: PENDING | INSYNC

      See Also:
    • withStatus

      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.

      Valid Values: PENDING | INSYNC

      Parameters:
      status - The current state of the request. PENDING indicates 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:
    • 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). The Z after 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 format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The Z after 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). The Z after 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). The Z after 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). The Z after 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 format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The Z after 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ChangeInfo clone()
      Overrides:
      clone in class Object