org.jclouds.rimuhosting.miro.domain
Class Server
java.lang.Object
org.jclouds.rimuhosting.miro.domain.Server
- All Implemented Interfaces:
- Comparable<Server>
public class Server
- extends Object
- implements Comparable<Server>
Instance Object.
TODO: javadoc
- Author:
- Ivan Meredith
Server
public Server()
getIpAddresses
public IpAddresses getIpAddresses()
setIpAddresses
public void setIpAddresses(IpAddresses ipAddresses)
getBillingId
public Long getBillingId()
setBillingId
public void setBillingId(Long billingId)
getAllowance
public DataTransferAllowance getAllowance()
setAllowance
public void setAllowance(DataTransferAllowance allowance)
getImageId
public String getImageId()
setImageId
public void setImageId(String imageId)
getName
public String getName()
setName
public void setName(String name)
getHostServerId
public String getHostServerId()
setHostServerId
public void setHostServerId(String hostServerId)
isOnDedicatedHardware
public Boolean isOnDedicatedHardware()
setOnDedicatedHardware
public void setOnDedicatedHardware(Boolean onDedicatedHardware)
getId
public Long getId()
setId
public void setId(Long id)
getState
public RunningState getState()
setState
public void setState(RunningState state)
getType
public String getType()
setType
public void setType(String type)
getSlug
public String getSlug()
setSlug
public void setSlug(String slug)
getInstanceParameters
public ServerParameters getInstanceParameters()
setInstanceParameters
public void setInstanceParameters(ServerParameters serverParameters)
getInstanceRequest
public NewServerData getInstanceRequest()
setInstanceRequest
public void setInstanceRequest(NewServerData serverDataRequest)
compareTo
public int compareTo(Server server)
- Specified by:
compareTo
in interface Comparable<Server>
setLocation
public void setLocation(DataCenter location)
getLocation
public DataCenter getLocation()
setMetaData
public void setMetaData(List<MetaData> metaData)
getMetaData
public List<MetaData> getMetaData()
getOnDedicatedHardware
public Boolean getOnDedicatedHardware()
getBillingData
public BillingData getBillingData()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.