org.jclouds.ec2.domain
Class PublicIpInstanceIdPair

java.lang.Object
  extended by org.jclouds.ec2.domain.PublicIpInstanceIdPair
All Implemented Interfaces:
Comparable<PublicIpInstanceIdPair>

public class PublicIpInstanceIdPair
extends Object
implements Comparable<PublicIpInstanceIdPair>

See Also:

Constructor Summary
PublicIpInstanceIdPair(String region, String publicIp, String instanceId)
           
 
Method Summary
 int compareTo(PublicIpInstanceIdPair o)
          
 boolean equals(Object obj)
           
 String getInstanceId()
          The ID of the instance.
 String getPublicIp()
          The public IP address.
 String getRegion()
          Deprecated. 
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicIpInstanceIdPair

public PublicIpInstanceIdPair(String region,
                              String publicIp,
                              @Nullable
                              String instanceId)
Method Detail

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.


compareTo

public int compareTo(PublicIpInstanceIdPair o)

Specified by:
compareTo in interface Comparable<PublicIpInstanceIdPair>

getInstanceId

public String getInstanceId()
The ID of the instance.


getPublicIp

public String getPublicIp()
The public IP address.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.