org.jclouds.ec2.compute.domain
Class RegionAndName

java.lang.Object
  extended by org.jclouds.ec2.compute.domain.RegionAndName
Direct Known Subclasses:
RegionNameAndIngressRules, RegionNameAndPublicKeyMaterial

public class RegionAndName
extends Object

Author:
Adrian Cole

Field Summary
protected  String name
           
protected  String region
           
 
Constructor Summary
RegionAndName(String region, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 String getRegion()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

region

protected final String region

name

protected final String name
Constructor Detail

RegionAndName

public RegionAndName(String region,
                     String name)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getRegion

public String getRegion()

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.