Package com.amazonaws.services.ec2.model
Class StopInstancesResult
java.lang.Object
com.amazonaws.services.ec2.model.StopInstancesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of StopInstances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about one or more stopped instances.int
hashCode()
void
setStoppingInstances
(Collection<InstanceStateChange> stoppingInstances) Information about one or more stopped instances.toString()
Returns a string representation of this object; useful for testing and debugging.withStoppingInstances
(InstanceStateChange... stoppingInstances) Information about one or more stopped instances.withStoppingInstances
(Collection<InstanceStateChange> stoppingInstances) Information about one or more stopped instances.
-
Constructor Details
-
StopInstancesResult
public StopInstancesResult()
-
-
Method Details
-
getStoppingInstances
Information about one or more stopped instances.
- Returns:
- Information about one or more stopped instances.
-
setStoppingInstances
Information about one or more stopped instances.
- Parameters:
stoppingInstances
- Information about one or more stopped instances.
-
withStoppingInstances
Information about one or more stopped instances.
NOTE: This method appends the values to the existing list (if any). Use
setStoppingInstances(java.util.Collection)
orwithStoppingInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
stoppingInstances
- Information about one or more stopped instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStoppingInstances
Information about one or more stopped instances.
- Parameters:
stoppingInstances
- Information about one or more stopped 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
-