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>

Author:
Adrian Cole
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()
          Elastic IP addresses are tied to a Region and cannot be mapped across Regions.
 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

public String getRegion()
Elastic IP addresses are tied to a Region and cannot be mapped across Regions.


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-2012 jclouds. All Rights Reserved.