Package org.jclouds.ec2.compute.domain
Class RegionAndName
- java.lang.Object
-
- org.jclouds.ec2.compute.domain.RegionAndName
-
- Direct Known Subclasses:
RegionNameAndIngressRules
,RegionNameAndPublicKeyMaterial
public class RegionAndName extends Object
-
-
Constructor Summary
Constructors Constructor Description RegionAndName(String region, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getName()
String
getRegion()
int
hashCode()
static com.google.common.base.Function<RegionAndName,String>
nameFunction()
static com.google.common.base.Function<RegionAndName,String>
regionFunction()
String
slashEncode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
Method Detail
-
slashEncode
public String slashEncode()
-
getRegion
public String getRegion()
-
getName
public String getName()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
regionFunction
public static com.google.common.base.Function<RegionAndName,String> regionFunction()
-
nameFunction
public static com.google.common.base.Function<RegionAndName,String> nameFunction()
-
-