com.xerox.amazonws.ec2
Class TerminatingInstanceDescription
java.lang.Object
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[])
.
TerminatingInstanceDescription
public TerminatingInstanceDescription(String id,
String prevState,
int prevStateCode,
String shutdownState,
int shutdownStateCode)
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