@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TerminateInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of TerminateInstances.
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.