public class Server extends Resource
Modifier and Type | Method and Description |
---|---|
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() |
getSelfURI, getURI
public Server()
public Server(int id, String name)
public Date getCreated()
public Date getUpdated()
public String getAffinityId()
public void setAffinityId(String affinityId)
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 void setName(String name)
Copyright © 2009-2012 jclouds. All Rights Reserved.