Package org.jclouds.glesys.domain
Class Server
- java.lang.Object
-
- org.jclouds.glesys.domain.Server
-
- Direct Known Subclasses:
ServerDetails
public class Server extends Object
Listing of a server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Server.Builder<T extends Server.Builder<T>>
static class
Server.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Server.Builder<?>
builder()
boolean
equals(Object obj)
String
getDatacenter()
String
getHostname()
String
getId()
String
getPlatform()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Server.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
Server
@ConstructorProperties({"serverid","hostname","datacenter","platform"}) protected Server(String id, String hostname, String datacenter, String platform)
-
-
Method Detail
-
builder
public static Server.Builder<?> builder()
-
toBuilder
public Server.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- the generated id of the server
-
getHostname
public String getHostname()
- Returns:
- the hostname of the server
-
getDatacenter
public String getDatacenter()
- Returns:
- platform running the server (ex.
OpenVZ
)
-
getPlatform
public String getPlatform()
- Returns:
- the datacenter the server exists in (ex.
Falkenberg
)
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-