Package org.jclouds.ec2.domain
Class InstanceStateChange
- java.lang.Object
-
- org.jclouds.ec2.domain.InstanceStateChange
-
- All Implemented Interfaces:
Comparable<InstanceStateChange>
public class InstanceStateChange extends Object implements Comparable<InstanceStateChange>
-
-
Constructor Summary
Constructors Constructor Description InstanceStateChange(String region, String instanceId, InstanceState currentState, InstanceState previousState)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(InstanceStateChange o)
boolean
equals(Object obj)
InstanceState
getCurrentState()
String
getInstanceId()
InstanceState
getPreviousState()
String
getRegion()
Deprecated.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
InstanceStateChange
public InstanceStateChange(String region, String instanceId, InstanceState currentState, InstanceState previousState)
-
-
Method Detail
-
compareTo
public int compareTo(InstanceStateChange o)
- Specified by:
compareTo
in interfaceComparable<InstanceStateChange>
-
getRegion
@Deprecated public String getRegion()
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context.
-
getInstanceId
public String getInstanceId()
-
getCurrentState
public InstanceState getCurrentState()
-
getPreviousState
public InstanceState getPreviousState()
-
-