Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class ChangeBatch

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

public class ChangeBatch
extends Object
implements Serializable

A complex type that contains an optional comment and the changes that you want to make with a change batch request.

See Also:
Serialized Form

Constructor Summary
ChangeBatch()
          Default constructor for a new ChangeBatch object.
ChangeBatch(List<Change> changes)
          Constructs a new ChangeBatch object.
 
Method Summary
 boolean equals(Object obj)
           
 List<Change> getChanges()
          A complex type that contains one Change element for each resource record set that you want to create or delete.
 String getComment()
          Optional: Any comments you want to include about a change batch request.
 int hashCode()
           
 void setChanges(Collection<Change> changes)
          A complex type that contains one Change element for each resource record set that you want to create or delete.
 void setComment(String comment)
          Optional: Any comments you want to include about a change batch request.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ChangeBatch withChanges(Change... changes)
          A complex type that contains one Change element for each resource record set that you want to create or delete.
 ChangeBatch withChanges(Collection<Change> changes)
          A complex type that contains one Change element for each resource record set that you want to create or delete.
 ChangeBatch withComment(String comment)
          Optional: Any comments you want to include about a change batch request.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeBatch

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


ChangeBatch

public ChangeBatch(List<Change> changes)
Constructs a new ChangeBatch object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
changes - A complex type that contains one Change element for each resource record set that you want to create or delete.
Method Detail

getComment

public String getComment()
Optional: Any comments you want to include about a change batch request.

Constraints:
Length: 0 - 256

Returns:
Optional: Any comments you want to include about a change batch request.

setComment

public void setComment(String comment)
Optional: Any comments you want to include about a change batch request.

Constraints:
Length: 0 - 256

Parameters:
comment - Optional: Any comments you want to include about a change batch request.

withComment

public ChangeBatch withComment(String comment)
Optional: Any comments you want to include about a change batch request.

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

Constraints:
Length: 0 - 256

Parameters:
comment - Optional: Any comments you want to include about a change batch request.
Returns:
A reference to this updated object so that method calls can be chained together.

getChanges

public List<Change> getChanges()
A complex type that contains one Change element for each resource record set that you want to create or delete.

Constraints:
Length: 1 -

Returns:
A complex type that contains one Change element for each resource record set that you want to create or delete.

setChanges

public void setChanges(Collection<Change> changes)
A complex type that contains one Change element for each resource record set that you want to create or delete.

Constraints:
Length: 1 -

Parameters:
changes - A complex type that contains one Change element for each resource record set that you want to create or delete.

withChanges

public ChangeBatch withChanges(Change... changes)
A complex type that contains one Change element for each resource record set that you want to create or delete.

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

Constraints:
Length: 1 -

Parameters:
changes - A complex type that contains one Change element for each resource record set that you want to create or delete.
Returns:
A reference to this updated object so that method calls can be chained together.

withChanges

public ChangeBatch withChanges(Collection<Change> changes)
A complex type that contains one Change element for each resource record set that you want to create or delete.

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

Constraints:
Length: 1 -

Parameters:
changes - A complex type that contains one Change element for each resource record set that you want 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.