com.xerox.amazonws.ec2
Class TerminatingInstanceDescription

java.lang.Object
  extended by com.xerox.amazonws.ec2.TerminatingInstanceDescription

public class TerminatingInstanceDescription
extends Object

An instance of this class represents an EC2 instance after a request has been issued to terminate that instance.

Instances are returned by calls to Jec2.terminateInstances(List), and Jec2.terminateInstances(String[]).


Constructor Summary
TerminatingInstanceDescription(String id, String prevState, int prevStateCode, String shutdownState, int shutdownStateCode)
           
 
Method Summary
 String getInstanceId()
           
 String getPreviousState()
           
 int getPreviousStateCode()
           
 String getShutdownState()
           
 int getShutdownStateCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TerminatingInstanceDescription

public TerminatingInstanceDescription(String id,
                                      String prevState,
                                      int prevStateCode,
                                      String shutdownState,
                                      int shutdownStateCode)
Method Detail

getInstanceId

public String getInstanceId()

getPreviousState

public String getPreviousState()

getShutdownState

public String getShutdownState()

getPreviousStateCode

public int getPreviousStateCode()

getShutdownStateCode

public int getShutdownStateCode()

toString

public String toString()
Overrides:
toString in class Object