public class TerminateInstancesResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
TerminateInstancesResult() |
Modifier and Type | Method and Description |
---|---|
TerminateInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceStateChange> |
getTerminatingInstances()
Information about one or more terminated instances.
|
int |
hashCode() |
void |
setTerminatingInstances(Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminateInstancesResult |
withTerminatingInstances(Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
|
TerminateInstancesResult |
withTerminatingInstances(InstanceStateChange... terminatingInstances)
Information about one or more terminated instances.
|
public List<InstanceStateChange> getTerminatingInstances()
Information about one or more terminated instances.
public void setTerminatingInstances(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(Collection<InstanceStateChange> terminatingInstances)
Information about one or more terminated instances.
terminatingInstances
- Information about one or more terminated instances.public String toString()
toString
in class Object
Object.toString()
public TerminateInstancesResult clone()
Copyright © 2016. All rights reserved.