public class StopInstancesResult extends Object implements Serializable, Cloneable
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.
|
public List<InstanceStateChange> getStoppingInstances()
public void setStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
stoppingInstances
- Information about one or more stopped instances.public StopInstancesResult withStoppingInstances(InstanceStateChange... stoppingInstances)
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.
Returns a reference to this object so that method calls can be chained together.
stoppingInstances
- Information about one or more stopped instances.public StopInstancesResult withStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Returns a reference to this object so that method calls can be chained together.
stoppingInstances
- Information about one or more stopped instances.public String toString()
toString
in class Object
Object.toString()
public StopInstancesResult clone()
Copyright © 2015. All rights reserved.