|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.openstack.nova.domain.Resource org.jclouds.openstack.nova.domain.Server
public class Server
A server is a virtual machine instance in the OpenStack Nova system. Flavor and image are requisite elements when creating a server.
Constructor Summary | |
---|---|
Server()
|
|
Server(int id,
String name)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAccessIPv4()
|
String |
getAccessIPv6()
|
Addresses |
getAddresses()
|
String |
getAdminPass()
|
String |
getAffinityId()
|
Date |
getCreated()
|
Flavor |
getFlavor()
|
String |
getFlavorRef()
Deprecated. in nova 1.1 api at the Diablo release, replaced by getFlavor() |
String |
getHostId()
The OpenStack Nova provisioning algorithm has an anti-affinity property that attempts to spread out customer VMs across hosts. |
int |
getId()
|
Image |
getImage()
|
String |
getImageRef()
Deprecated. in nova 1.1 api at the Diablo release, replaced by getImage() . |
String |
getKeyName()
|
Map<String,String> |
getMetadata()
|
String |
getName()
|
Integer |
getProgress()
|
Set<SecurityGroup> |
getSecurityGroups()
|
ServerStatus |
getStatus()
Servers contain a status attribute that can be used as an indication of the current server state. |
Date |
getUpdated()
|
String |
getUuid()
|
int |
hashCode()
|
void |
setAccessIPv4(String accessIPv4)
|
void |
setAccessIPv6(String accessIPv6)
|
void |
setAddresses(Addresses addresses)
|
void |
setAdminPass(String adminPass)
|
void |
setAffinityId(String affinityId)
|
void |
setFlavor(Flavor flavor)
|
void |
setFlavorRef(String flavorRef)
|
void |
setHostId(String hostId)
|
void |
setImage(Image image)
|
void |
setImageRef(String imageRef)
|
void |
setKeyName(String keyName)
|
void |
setMetadata(Map<String,String> metadata)
|
void |
setName(String name)
|
void |
setProgress(Integer progress)
|
void |
setSecurityGroups(Set<SecurityGroup> securityGroups)
|
void |
setStatus(ServerStatus status)
|
void |
setUuid(String uuid)
|
String |
toString()
|
Methods inherited from class org.jclouds.openstack.nova.domain.Resource |
---|
getSelfURI, getURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Server()
public Server(int id, String name)
Method Detail |
---|
public Date getCreated()
public Date getUpdated()
public String getAffinityId()
public void setAffinityId(String affinityId)
public void setMetadata(Map<String,String> metadata)
public Map<String,String> getMetadata()
public void setAddresses(Addresses addresses)
public Addresses getAddresses()
public void setAdminPass(String adminPass)
public String getAdminPass()
public void setFlavorRef(String flavorRef)
@Deprecated public String getFlavorRef()
getFlavor()
public void setHostId(String hostId)
public String getHostId()
public int getId()
public void setImageRef(String imageRef)
@Deprecated public String getImageRef()
getImage()
.
public String getName()
public void setProgress(Integer progress)
public Integer getProgress()
public void setStatus(ServerStatus status)
public ServerStatus getStatus()
public String getUuid()
public void setUuid(String uuid)
public Flavor getFlavor()
public void setFlavor(Flavor flavor)
public Image getImage()
public void setImage(Image image)
public String getKeyName()
public void setKeyName(String keyName)
public Set<SecurityGroup> getSecurityGroups()
public void setSecurityGroups(Set<SecurityGroup> securityGroups)
public String getAccessIPv4()
public void setAccessIPv4(String accessIPv4)
accessIPv4
- the accessIPv4 to setpublic String getAccessIPv6()
public void setAccessIPv6(String accessIPv6)
accessIPv6
- the accessIPv6 to setpublic int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public void setName(String name)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |