org.jclouds.openstack.nova.v2_0.domain.zonescoped
Class ZoneAndName
java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.zonescoped.ZoneAndName
- Direct Known Subclasses:
- SecurityGroupInZone, ZoneSecurityGroupNameAndPorts
public class ZoneAndName
- extends Object
Helpful when looking for resources by zone and name
- Author:
- Adrian Cole
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)
fromSlashEncoded
public static ZoneAndName fromSlashEncoded(String name)
fromZoneAndName
public static ZoneAndName fromZoneAndName(String zoneId,
String name)
slashEncode
public String slashEncode()
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-2012 jclouds. All Rights Reserved.