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.
Constructor and Description |
---|
ChangeBatch()
Default constructor for a new ChangeBatch object.
|
ChangeBatch(List<Change> changes)
Constructs a new ChangeBatch object.
|
Modifier and Type | Method and Description |
---|---|
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 String getComment()
Constraints:
Length: 0 - 256
public void setComment(String comment)
Constraints:
Length: 0 - 256
comment
- Optional: Any comments you want to include about a change batch
request.public ChangeBatch withComment(String comment)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
comment
- Optional: Any comments you want to include about a change batch
request.public List<Change> getChanges()
Change
element for each
resource record set that you want to create or delete.
Constraints:
Length: 1 -
Change
element for each
resource record set that you want to create or delete.public void setChanges(Collection<Change> changes)
Change
element for each
resource record set that you want to create or delete.
Constraints:
Length: 1 -
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)
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 -
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)
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 -
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.