public class TerminateInstancesResult extends Object implements Serializable
The result of calling the TerminateInstances operation. Contains details on how the specified instances are changing state.
Constructor and Description |
---|
TerminateInstancesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<InstanceStateChange> |
getTerminatingInstances()
The list of the terminating instances and details on how their state
has changed.
|
int |
hashCode() |
void |
setTerminatingInstances(Collection<InstanceStateChange> terminatingInstances)
The list of the terminating instances and details on how their state
has changed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminateInstancesResult |
withTerminatingInstances(Collection<InstanceStateChange> terminatingInstances)
The list of the terminating instances and details on how their state
has changed.
|
TerminateInstancesResult |
withTerminatingInstances(InstanceStateChange... terminatingInstances)
The list of the terminating instances and details on how their state
has changed.
|
public List<InstanceStateChange> getTerminatingInstances()
public void setTerminatingInstances(Collection<InstanceStateChange> terminatingInstances)
terminatingInstances
- The list of the terminating instances and details on how their state
has changed.public TerminateInstancesResult withTerminatingInstances(InstanceStateChange... terminatingInstances)
Returns a reference to this object so that method calls can be chained together.
terminatingInstances
- The list of the terminating instances and details on how their state
has changed.public TerminateInstancesResult withTerminatingInstances(Collection<InstanceStateChange> terminatingInstances)
Returns a reference to this object so that method calls can be chained together.
terminatingInstances
- The list of the terminating instances and details on how their state
has changed.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.