Package com.amazonaws.services.ec2.model
Class TerminateInstancesResult
java.lang.Object
com.amazonaws.services.ec2.model.TerminateInstancesResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the output of TerminateInstances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanInformation about one or more terminated instances.inthashCode()voidsetTerminatingInstances(Collection<InstanceStateChange> terminatingInstances) Information about one or more terminated instances.toString()Returns a string representation of this object; useful for testing and debugging.withTerminatingInstances(InstanceStateChange... terminatingInstances) Information about one or more terminated instances.withTerminatingInstances(Collection<InstanceStateChange> terminatingInstances) Information about one or more terminated instances.
-
Constructor Details
-
TerminateInstancesResult
public TerminateInstancesResult()
-
-
Method Details
-
getTerminatingInstances
Information about one or more terminated instances.
- Returns:
- Information about one or more terminated instances.
-
setTerminatingInstances
Information about one or more terminated instances.
- Parameters:
terminatingInstances- Information about one or more terminated instances.
-
withTerminatingInstances
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)orwithTerminatingInstances(java.util.Collection)if you want to override the existing values.- Parameters:
terminatingInstances- Information about one or more terminated instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTerminatingInstances
public TerminateInstancesResult withTerminatingInstances(Collection<InstanceStateChange> terminatingInstances) Information about one or more terminated instances.
- Parameters:
terminatingInstances- Information about one or more terminated instances.- 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
-