public class Datacenter extends Object implements Comparable<Datacenter>
Modifier and Type | Class and Description |
---|---|
static class |
Datacenter.Builder |
Constructor and Description |
---|
Datacenter(int id,
String name,
String longName,
Address locationAddress,
Iterable<Region> regions) |
Modifier and Type | Method and Description |
---|---|
static Datacenter.Builder |
builder() |
int |
compareTo(Datacenter arg0) |
boolean |
equals(Object obj) |
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() |
public static Datacenter.Builder builder()
public int compareTo(Datacenter arg0)
compareTo
in interface Comparable<Datacenter>
public int getId()
public String getName()
public String getLongName()
public Address getLocationAddress()
public Set<Region> getRegions()
public Datacenter.Builder toBuilder()
Copyright © 2009-2012 jclouds. All Rights Reserved.