Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class ChangeInfo

java.lang.Object
  extended by com.amazonaws.services.route53.model.ChangeInfo
All Implemented Interfaces:
Serializable

public class ChangeInfo
extends Object
implements Serializable

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
ChangeInfo()
          Default constructor for a new 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
 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 was submitted, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).
 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 was submitted, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).
 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 was submitted, in the format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeInfo

public ChangeInfo()
Default constructor for a new ChangeInfo object. Callers should use the setter or fluent setter (with...) methods to initialize this 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), which is synonymous with Greenwich Mean Time in this context.

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), which is synonymous with Greenwich Mean Time in this context.
Method Detail

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.

Constraints:
Length: 0 - 32

Returns:
The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.

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.

Constraints:
Length: 0 - 32

Parameters:
id - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32

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:
A reference to this updated object so that method calls can be chained together.

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

Constraints:
Allowed 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:
ChangeStatus

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

Constraints:
Allowed 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:
ChangeStatus

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

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed 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:
A reference to this updated object so that method calls can be chained together.
See Also:
ChangeStatus

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

Constraints:
Allowed 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:
ChangeStatus

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

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed 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:
A reference to this updated object so that method calls can be chained together.
See Also:
ChangeStatus

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), which is synonymous with Greenwich Mean Time in this context.

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), which is synonymous with Greenwich Mean Time in this context.

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), which is synonymous with Greenwich Mean Time in this context.

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), which is synonymous with Greenwich Mean Time in this context.

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), which is synonymous with Greenwich Mean Time in this context.

Returns a reference to this object so that method calls can be chained together.

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), which is synonymous with Greenwich Mean Time in this context.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

Constraints:
Length: 0 - 256

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.


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.

Constraints:
Length: 0 - 256

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.


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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 256

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:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.