org.jclouds.elb.domain.regionscoped
Class RegionAndName

java.lang.Object
  extended by org.jclouds.elb.domain.regionscoped.RegionAndName
Direct Known Subclasses:
LoadBalancerInRegion

public class RegionAndName
extends Object

Author:
Adrian Cole

Field Summary
protected  String name
           
protected  String regionId
           
 
Constructor Summary
protected RegionAndName(String regionId, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
static RegionAndName fromRegionAndName(String regionId, String name)
           
static RegionAndName fromSlashEncoded(String name)
           
 String getName()
           
 String getRegion()
           
 int hashCode()
           
 String slashEncode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

regionId

protected final String regionId

name

protected final String name
Constructor Detail

RegionAndName

protected RegionAndName(String regionId,
                        String name)
Method Detail

fromSlashEncoded

public static RegionAndName fromSlashEncoded(String name)

fromRegionAndName

public static RegionAndName fromRegionAndName(String regionId,
                                              String name)

slashEncode

public String slashEncode()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getRegion

public String getRegion()

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.