public class ZoneAndName extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
name |
static com.google.common.base.Function<ZoneAndName,String> |
NAME_FUNCTION |
static com.google.common.base.Function<ZoneAndName,String> |
ZONE_FUNCTION |
protected String |
zoneId |
Modifier | Constructor and Description |
---|---|
protected |
ZoneAndName(String zoneId,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ZoneAndName |
fromZoneAndName(String zoneId,
String name) |
String |
getName() |
String |
getZone() |
int |
hashCode() |
protected com.google.common.base.MoreObjects.ToStringHelper |
string() |
String |
toString() |
public static final com.google.common.base.Function<ZoneAndName,String> NAME_FUNCTION
public static final com.google.common.base.Function<ZoneAndName,String> ZONE_FUNCTION
protected final String zoneId
protected final String name
public static ZoneAndName fromZoneAndName(String zoneId, String name)
public String getZone()
public String getName()
protected com.google.common.base.MoreObjects.ToStringHelper string()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.