Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class Change

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

public class Change
extends Object
implements Serializable

A complex type that contains the information for each change in a change batch request.

See Also:
Serialized Form

Constructor Summary
Change()
          Default constructor for a new Change object.
Change(ChangeAction action, ResourceRecordSet resourceRecordSet)
          Constructs a new Change object.
Change(String action, ResourceRecordSet resourceRecordSet)
          Constructs a new Change object.
 
Method Summary
 boolean equals(Object obj)
           
 String getAction()
          The action to perform.
 ResourceRecordSet getResourceRecordSet()
          Information about the resource record set to create or delete.
 int hashCode()
           
 void setAction(ChangeAction action)
          The action to perform.
 void setAction(String action)
          The action to perform.
 void setResourceRecordSet(ResourceRecordSet resourceRecordSet)
          Information about the resource record set to create or delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Change withAction(ChangeAction action)
          The action to perform.
 Change withAction(String action)
          The action to perform.
 Change withResourceRecordSet(ResourceRecordSet resourceRecordSet)
          Information about the resource record set to create or delete.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Change

public Change()
Default constructor for a new Change object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


Change

public Change(String action,
              ResourceRecordSet resourceRecordSet)
Constructs a new Change object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
action - The action to perform.

Valid values: CREATE | DELETE

resourceRecordSet - Information about the resource record set to create or delete.

Change

public Change(ChangeAction action,
              ResourceRecordSet resourceRecordSet)
Constructs a new Change object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
action - The action to perform.

Valid values: CREATE | DELETE

resourceRecordSet - Information about the resource record set to create or delete.
Method Detail

getAction

public String getAction()
The action to perform.

Valid values: CREATE | DELETE

Constraints:
Allowed Values: CREATE, DELETE

Returns:
The action to perform.

Valid values: CREATE | DELETE

See Also:
ChangeAction

setAction

public void setAction(String action)
The action to perform.

Valid values: CREATE | DELETE

Constraints:
Allowed Values: CREATE, DELETE

Parameters:
action - The action to perform.

Valid values: CREATE | DELETE

See Also:
ChangeAction

withAction

public Change withAction(String action)
The action to perform.

Valid values: CREATE | DELETE

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

Constraints:
Allowed Values: CREATE, DELETE

Parameters:
action - The action to perform.

Valid values: CREATE | DELETE

Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ChangeAction

setAction

public void setAction(ChangeAction action)
The action to perform.

Valid values: CREATE | DELETE

Constraints:
Allowed Values: CREATE, DELETE

Parameters:
action - The action to perform.

Valid values: CREATE | DELETE

See Also:
ChangeAction

withAction

public Change withAction(ChangeAction action)
The action to perform.

Valid values: CREATE | DELETE

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

Constraints:
Allowed Values: CREATE, DELETE

Parameters:
action - The action to perform.

Valid values: CREATE | DELETE

Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ChangeAction

getResourceRecordSet

public ResourceRecordSet getResourceRecordSet()
Information about the resource record set to create or delete.

Returns:
Information about the resource record set to create or delete.

setResourceRecordSet

public void setResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.

Parameters:
resourceRecordSet - Information about the resource record set to create or delete.

withResourceRecordSet

public Change withResourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create or delete.

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

Parameters:
resourceRecordSet - Information about the resource record set to create or delete.
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.