com.xerox.amazonws.ec2
Class InstanceStateChangeDescription

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

public class InstanceStateChangeDescription
extends Object

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


Constructor Summary
InstanceStateChangeDescription(String id, String prevState, int prevStateCode, String currentState, int currentStateCode)
           
 
Method Summary
 String getCurrentState()
           
 int getCurrentStateCode()
           
 String getInstanceId()
           
 String getPreviousState()
           
 int getPreviousStateCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceStateChangeDescription

public InstanceStateChangeDescription(String id,
                                      String prevState,
                                      int prevStateCode,
                                      String currentState,
                                      int currentStateCode)
Method Detail

getInstanceId

public String getInstanceId()

getPreviousState

public String getPreviousState()

getCurrentState

public String getCurrentState()

getPreviousStateCode

public int getPreviousStateCode()

getCurrentStateCode

public int getCurrentStateCode()

toString

public String toString()
Overrides:
toString in class Object