@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of StopInstances.
Constructor and Description |
---|
StopInstancesResult() |
Modifier and Type | Method and Description |
---|---|
StopInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceStateChange> |
getStoppingInstances()
Information about one or more stopped instances.
|
int |
hashCode() |
void |
setStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StopInstancesResult |
withStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
|
StopInstancesResult |
withStoppingInstances(InstanceStateChange... stoppingInstances)
Information about one or more stopped instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceStateChange> getStoppingInstances()
Information about one or more stopped instances.
public void setStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
stoppingInstances
- Information about one or more stopped instances.public StopInstancesResult withStoppingInstances(InstanceStateChange... stoppingInstances)
Information about one or more stopped instances.
NOTE: This method appends the values to the existing list (if any). Use
setStoppingInstances(java.util.Collection)
or withStoppingInstances(java.util.Collection)
if
you want to override the existing values.
stoppingInstances
- Information about one or more stopped instances.public StopInstancesResult withStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Information about one or more stopped instances.
stoppingInstances
- Information about one or more stopped instances.public String toString()
toString
in class Object
Object.toString()
public StopInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.