org.jclouds.cloudstack.domain
Class ZoneAndName
java.lang.Object
org.jclouds.cloudstack.domain.ZoneAndName
- Direct Known Subclasses:
- ZoneSecurityGroupNamePortsCidrs
public class ZoneAndName
- extends Object
Helpful when looking for resources by zone and name
NAME_FUNCTION
public static final com.google.common.base.Function<ZoneAndName,String> NAME_FUNCTION
ZONE_FUNCTION
public static final com.google.common.base.Function<ZoneAndName,String> ZONE_FUNCTION
zoneId
protected final String zoneId
name
protected final String name
ZoneAndName
protected ZoneAndName(String zoneId,
String name)
fromZoneAndName
public static ZoneAndName fromZoneAndName(String zoneId,
String name)
getZone
public String getZone()
getName
public String getName()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.