com.amazonaws.services.ec2.model
Class StopInstancesResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.StopInstancesResult

public class StopInstancesResult
extends java.lang.Object

The result of calling the StopInstances operation. Contains details on how the specified instances are changing state.


Constructor Summary
StopInstancesResult()
           
 
Method Summary
 java.util.List<InstanceStateChange> getStoppingInstances()
          The list of the stopping instances and details on how their state has changed.
 void setStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
          The list of the stopping instances and details on how their state has changed.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 StopInstancesResult withStoppingInstances(java.util.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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StopInstancesResult

public StopInstancesResult()
Method Detail

getStoppingInstances

public java.util.List<InstanceStateChange> getStoppingInstances()
The list of the stopping instances and details on how their state has changed.

Returns:
The list of the stopping instances and details on how their state has changed.

setStoppingInstances

public void setStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
The list of the stopping instances and details on how their state has changed.

Parameters:
stoppingInstances - The list of the stopping instances and details on how their state has changed.

withStoppingInstances

public StopInstancesResult withStoppingInstances(InstanceStateChange... stoppingInstances)
The list of the stopping instances and details on how their state has changed.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stoppingInstances - The list of the stopping instances and details on how their state has changed.
Returns:
A reference to this updated object so that method calls can be chained together.

withStoppingInstances

public StopInstancesResult withStoppingInstances(java.util.Collection<InstanceStateChange> stoppingInstances)
The list of the stopping instances and details on how their state has changed.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stoppingInstances - The list of the stopping instances and details on how their state has changed.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.