Class ChangeBatch
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that contains an optional comment and the changes that you want to make with a change batch request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ChangeBatch object.ChangeBatch
(List<Change> changes) Constructs a new ChangeBatch object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A complex type that contains oneChange
element for each resource record set that you want to create or delete.Optional: Any comments you want to include about a change batch request.int
hashCode()
void
setChanges
(Collection<Change> changes) A complex type that contains oneChange
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.toString()
Returns a string representation of this object; useful for testing and debugging.withChanges
(Change... changes) A complex type that contains oneChange
element for each resource record set that you want to create or delete.withChanges
(Collection<Change> changes) A complex type that contains oneChange
element for each resource record set that you want to create or delete.withComment
(String comment) Optional: Any comments you want to include about a change batch request.
-
Constructor Details
-
ChangeBatch
public ChangeBatch()Default constructor for ChangeBatch object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ChangeBatch
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 oneChange
element for each resource record set that you want to create or delete.
-
-
Method Details
-
setComment
Optional: Any comments you want to include about a change batch request.
- Parameters:
comment
- Optional:
-
getComment
Optional: Any comments you want to include about a change batch request.
- Returns:
- Optional:
-
withComment
Optional: Any comments you want to include about a change batch request.
- Parameters:
comment
- Optional:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getChanges
A complex type that contains one
Change
element for each resource record set that you want to create or delete.- Returns:
- A complex type that contains one
Change
element for each resource record set that you want to create or delete.
-
setChanges
A complex type that contains one
Change
element for each resource record set that you want to create or delete.- Parameters:
changes
- A complex type that contains oneChange
element for each resource record set that you want to create or delete.
-
withChanges
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)
orwithChanges(java.util.Collection)
if you want to override the existing values.- Parameters:
changes
- A complex type that contains oneChange
element for each resource record set that you want to create or delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withChanges
A complex type that contains one
Change
element for each resource record set that you want to create or delete.- Parameters:
changes
- A complex type that contains oneChange
element for each resource record set that you want to create or delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-