public class StopInstancesResult extends Object implements Serializable
The result of calling the StopInstances operation. Contains details on how the specified instances are changing state.
Constructor and Description |
---|
StopInstancesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<InstanceStateChange> |
getStoppingInstances()
The list of the stopping instances and details on how their state has
changed.
|
int |
hashCode() |
void |
setStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
The list of the stopping instances and details on how their state has
changed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopInstancesResult |
withStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
The list of the stopping instances and details on how their state has
changed.
|
StopInstancesResult |
withStoppingInstances(InstanceStateChange... stoppingInstances)
The list of the stopping instances and details on how their state has
changed.
|
public List<InstanceStateChange> getStoppingInstances()
public void setStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
stoppingInstances
- The list of the stopping instances and details on how their state has
changed.public StopInstancesResult withStoppingInstances(InstanceStateChange... stoppingInstances)
Returns a reference to this object so that method calls can be chained together.
stoppingInstances
- The list of the stopping instances and details on how their state has
changed.public StopInstancesResult withStoppingInstances(Collection<InstanceStateChange> stoppingInstances)
Returns a reference to this object so that method calls can be chained together.
stoppingInstances
- The list of the stopping instances and details on how their state has
changed.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.