org.jclouds.ec2.domain
Class PublicIpInstanceIdPair
java.lang.Object
org.jclouds.ec2.domain.PublicIpInstanceIdPair
- All Implemented Interfaces:
- Comparable<PublicIpInstanceIdPair>
public class PublicIpInstanceIdPair
- extends Object
- implements Comparable<PublicIpInstanceIdPair>
- Author:
- Adrian Cole
- See Also:
PublicIpInstanceIdPair
public PublicIpInstanceIdPair(String region,
String publicIp,
@Nullable
String instanceId)
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-2011 jclouds. All Rights Reserved.