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 class
Datacenter.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()
boolean
equals(Object o)
int
getId()
Address
getLocationAddress()
String
getLongName()
String
getName()
Set<Region>
getRegions()
A location can be a member of 1 or more regions.int
hashCode()
Datacenter.Builder<?>
toBuilder()
String
toString()
-
-
-
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.
-
-