Package org.jclouds.softlayer.domain
Class Datacenter
- java.lang.Object
 - 
- org.jclouds.softlayer.domain.Datacenter
 
 
- 
public class Datacenter extends Object
Class Datacenter 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatacenter.Builder<T extends Datacenter.Builder<T>> 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Datacenter.Builder<?>builder()booleanequals(Object o)intgetId()AddressgetLocationAddress()StringgetLongName()StringgetName()Set<Region>getRegions()A location can be a member of 1 or more regions.inthashCode()Datacenter.Builder<?>toBuilder()StringtoString() 
 - 
 
- 
- 
Method Detail
- 
builder
public static Datacenter.Builder<?> builder()
 
- 
toBuilder
public Datacenter.Builder<?> toBuilder()
 
- 
getId
public int getId()
- Returns:
 - The unique identifier of a specific location.
 
 
- 
getLocationAddress
@Nullable public Address getLocationAddress()
- Returns:
 - A location's physical address (optional).
 
 
- 
getRegions
public Set<Region> getRegions()
A location can be a member of 1 or more regions. Sometimes the list of regions is empty, for example as a new Datacenter is being added. The list of regions usually contains one with keyName=FIRST_AVAILABLE which should be ignored.- Returns:
 - The regions to which a location belongs.
 
 
 - 
 
 -