org.jclouds.gogrid.domain
Class Server
java.lang.Object
org.jclouds.gogrid.domain.Server
- All Implemented Interfaces:
- Comparable<Server>
public class Server
- extends Object
- implements Comparable<Server>
- Author:
- Oleksiy Yarmula
Constructor Summary |
Server(long id,
Option datacenter,
boolean sandbox,
String name,
String description,
ServerState state,
Option type,
Option ram,
Option os,
Ip ip,
ServerImage image)
|
Server
public Server(long id,
Option datacenter,
boolean sandbox,
String name,
String description,
ServerState state,
Option type,
Option ram,
Option os,
Ip ip,
ServerImage image)
getId
public long getId()
isSandbox
public boolean isSandbox()
getDatacenter
public Option getDatacenter()
getName
public String getName()
getDescription
public String getDescription()
getState
public ServerState getState()
getType
public Option getType()
getRam
public Option getRam()
getOs
public Option getOs()
getIp
public Ip getIp()
getImage
public ServerImage getImage()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(Server o)
- Specified by:
compareTo
in interface Comparable<Server>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.