public class DatacenterAndName extends Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<DatacenterAndName,String> |
DATACENTER_FUNCTION |
protected String |
datacenterId |
protected String |
name |
static com.google.common.base.Function<DatacenterAndName,String> |
NAME_FUNCTION |
Modifier | Constructor and Description |
---|---|
protected |
DatacenterAndName(String datacenterId,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static DatacenterAndName |
fromDatacenterAndName(String datacenterId,
String name) |
static DatacenterAndName |
fromSlashEncoded(String name) |
String |
getDatacenter() |
String |
getName() |
int |
hashCode() |
String |
slashEncode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
public static final com.google.common.base.Function<DatacenterAndName,String> NAME_FUNCTION
public static final com.google.common.base.Function<DatacenterAndName,String> DATACENTER_FUNCTION
protected final String datacenterId
protected final String name
public static DatacenterAndName fromSlashEncoded(String name)
public static DatacenterAndName fromDatacenterAndName(String datacenterId, String name)
public String slashEncode()
public String getDatacenter()
public String getName()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.