org.jclouds.softlayer.domain
Class Region
java.lang.Object
org.jclouds.softlayer.domain.Region
- All Implemented Interfaces:
- Comparable<Region>
public class Region
- extends Object
- implements Comparable<Region>
A region is made up of a keyname and a description of that region.
A region keyname can be used as part of an order.
Check the SoftLayer_Product_Order service for more details.
- Author:
- Jason King
- See Also:
Region
public Region(String keyname,
String description)
builder
public static Region.Builder builder()
compareTo
public int compareTo(Region arg0)
- Specified by:
compareTo
in interface Comparable<Region>
getKeyname
public String getKeyname()
- Returns:
- A unique key name for a region. Provided for easy debugging. This is to be sent in with an order.
getDescription
public String getDescription()
- Returns:
- A short description of a region's name. This description is seen on the order forms.
toBuilder
public Region.Builder toBuilder()
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
Copyright © 2009-2011 jclouds. All Rights Reserved.