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>
- See Also:
InstanceStateChange
public InstanceStateChange(String region,
String instanceId,
InstanceState currentState,
InstanceState previousState)
compareTo
public int compareTo(InstanceStateChange o)
- Specified by:
compareTo in interface Comparable<InstanceStateChange>
getRegion
@Deprecated
public String getRegion()
- Deprecated.
- To be removed in jclouds 1.6
Warning
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()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.