public class TerminateInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of TerminateInstances.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<InstanceStateChange> |
terminatingInstances
Information about one or more terminated instances.
|
Constructor and Description |
---|
TerminateInstancesResult() |
Modifier and Type | Method and Description |
---|---|
TerminateInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<InstanceStateChange> |
getTerminatingInstances()
Information about one or more terminated instances.
|
int |
hashCode() |
void |
setTerminatingInstances(java.util.Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminateInstancesResult |
withTerminatingInstances(java.util.Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
|
TerminateInstancesResult |
withTerminatingInstances(InstanceStateChange... terminatingInstances)
Information about one or more terminated instances.
|
private SdkInternalList<InstanceStateChange> terminatingInstances
Information about one or more terminated instances.
public java.util.List<InstanceStateChange> getTerminatingInstances()
Information about one or more terminated instances.
public void setTerminatingInstances(java.util.Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
terminatingInstances
- Information about one or more terminated instances.public TerminateInstancesResult withTerminatingInstances(InstanceStateChange... terminatingInstances)
Information about one or more terminated instances.
NOTE: This method appends the values to the existing list (if
any). Use setTerminatingInstances(java.util.Collection)
or
withTerminatingInstances(java.util.Collection)
if you want to
override the existing values.
terminatingInstances
- Information about one or more terminated instances.public TerminateInstancesResult withTerminatingInstances(java.util.Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
terminatingInstances
- Information about one or more terminated instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TerminateInstancesResult clone()
clone
in class java.lang.Object