@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChangeBatch extends Object implements Serializable, Cloneable
The information for a change request.
Constructor and Description |
---|
ChangeBatch()
Default constructor for ChangeBatch object.
|
ChangeBatch(List<Change> changes)
Constructs a new ChangeBatch object.
|
Modifier and Type | Method and Description |
---|---|
ChangeBatch |
clone() |
boolean |
equals(Object obj) |
List<Change> |
getChanges()
Information about the changes to make to the record sets.
|
String |
getComment()
Optional: Any comments you want to include about a change batch request.
|
int |
hashCode() |
void |
setChanges(Collection<Change> changes)
Information about the changes to make to the record sets.
|
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)
Information about the changes to make to the record sets.
|
ChangeBatch |
withChanges(Collection<Change> changes)
Information about the changes to make to the record sets.
|
ChangeBatch |
withComment(String comment)
Optional: Any comments you want to include about a change batch request.
|
public ChangeBatch()
public void setComment(String comment)
Optional: Any comments you want to include about a change batch request.
comment
- Optional: Any comments you want to include about a change batch request.public String getComment()
Optional: Any comments you want to include about a change batch request.
public ChangeBatch withComment(String comment)
Optional: Any comments you want to include about a change batch request.
comment
- Optional: Any comments you want to include about a change batch request.public List<Change> getChanges()
Information about the changes to make to the record sets.
public void setChanges(Collection<Change> changes)
Information about the changes to make to the record sets.
changes
- Information about the changes to make to the record sets.public ChangeBatch withChanges(Change... changes)
Information about the changes to make to the record sets.
NOTE: This method appends the values to the existing list (if any). Use
setChanges(java.util.Collection)
or withChanges(java.util.Collection)
if you want to override
the existing values.
changes
- Information about the changes to make to the record sets.public ChangeBatch withChanges(Collection<Change> changes)
Information about the changes to make to the record sets.
changes
- Information about the changes to make to the record sets.public String toString()
toString
in class Object
Object.toString()
public ChangeBatch clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.