public class RegionAndName extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
name |
static com.google.common.base.Function<RegionAndName,String> |
NAME_FUNCTION |
static com.google.common.base.Function<RegionAndName,String> |
REGION_FUNCTION |
protected String |
regionId |
Modifier | Constructor and Description |
---|---|
protected |
RegionAndName(String regionId,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static RegionAndName |
fromRegionAndName(String regionId,
String name) |
static RegionAndName |
fromSlashEncoded(String name) |
String |
getName() |
String |
getRegion() |
int |
hashCode() |
String |
slashEncode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
public static final com.google.common.base.Function<RegionAndName,String> NAME_FUNCTION
public static final com.google.common.base.Function<RegionAndName,String> REGION_FUNCTION
protected final String regionId
protected final String name
public static RegionAndName fromSlashEncoded(String name)
public static RegionAndName fromRegionAndName(String regionId, String name)
public String slashEncode()
public String getRegion()
public String getName()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.