Package org.jclouds.glesys.domain
Class Server
java.lang.Object
org.jclouds.glesys.domain.Server
- Direct Known Subclasses:
ServerDetails
Listing of a server.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Server.Builder<T extends Server.Builder<T>>
static enum
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Server
@ConstructorProperties({"serverid","hostname","datacenter","platform"}) protected Server(String id, String hostname, String datacenter, String platform)
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- the generated id of the server
-
getHostname
- Returns:
- the hostname of the server
-
getDatacenter
- Returns:
- platform running the server (ex.
OpenVZ
)
-
getPlatform
- Returns:
- the datacenter the server exists in (ex.
Falkenberg
)
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-