public class Server extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Addresses |
getAddresses() |
String |
getAdminPass() |
Integer |
getFlavorId() |
String |
getHostId()
The Cloud Servers provisioning algorithm has an anti-affinity property that attempts to spread
out customer VMs across hosts.
|
int |
getId() |
Integer |
getImageId() |
Map<String,String> |
getMetadata() |
String |
getName() |
Integer |
getProgress() |
Integer |
getSharedIpGroupId() |
ServerStatus |
getStatus()
Servers contain a status attribute that can be used as an indication of the current server
state.
|
int |
hashCode() |
void |
setAddresses(Addresses addresses) |
void |
setAdminPass(String adminPass) |
void |
setFlavorId(Integer flavorId) |
void |
setHostId(String hostId) |
void |
setImageId(Integer imageId) |
void |
setMetadata(Map<String,String> metadata) |
void |
setName(String name) |
void |
setProgress(Integer progress) |
void |
setSharedIpGroupId(Integer sharedIpGroupId) |
void |
setStatus(ServerStatus status) |
String |
toString() |
public Server()
public Server(int id, String name)
public void setAddresses(Addresses addresses)
public Addresses getAddresses()
public void setAdminPass(String adminPass)
public String getAdminPass()
public void setFlavorId(Integer flavorId)
public Integer getFlavorId()
public void setHostId(String hostId)
public String getHostId()
public int getId()
public void setImageId(Integer imageId)
public Integer getImageId()
public String getName()
public void setProgress(Integer progress)
public Integer getProgress()
public void setSharedIpGroupId(Integer sharedIpGroupId)
public Integer getSharedIpGroupId()
public void setStatus(ServerStatus status)
public ServerStatus getStatus()
public void setName(String name)
Copyright © 2009-2012 jclouds. All Rights Reserved.