public class ChangeBatch extends Object implements Serializable, Cloneable
A complex type that contains an optional comment and the changes that you want to make with a change batch 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()
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.
|
public ChangeBatch()
public ChangeBatch(List<Change> changes)
changes
- A complex type that contains one Change
element for
each resource record set that you want to create or delete.public void setComment(String comment)
Optional: Any comments you want to include about a change batch request.
comment
- Optional: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:public List<Change> getChanges()
A complex type that contains one Change
element for each
resource record set that you want to create or delete.
Change
element for
each resource record set that you want to create or delete.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.
changes
- A complex type that contains one Change
element for
each resource record set that you want to create or delete.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.
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
- A complex type that contains one Change
element for
each resource record set that you want to create or delete.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.
changes
- A complex type that contains one Change
element for
each resource record set that you want to create or delete.public String toString()
toString
in class Object
Object.toString()
public ChangeBatch clone()
Copyright © 2018. All rights reserved.