public class Server extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Server.Builder<T extends Server.Builder<T>> |
Resource.LinkType
Modifier | Constructor and Description |
---|---|
protected |
Server(int id,
List<Map<String,String>> links,
Map<Resource.LinkType,URI> orderedSelfReferences,
String name,
Map<String,String> metadata,
Addresses addresses,
String accessIPv4,
String accessIPv6,
String adminPass,
String flavorRef,
String hostId,
String imageRef,
String affinityId,
String uuid,
Flavor flavor,
Image image,
String keyName,
Set<SecurityGroup> securityGroups,
Date created,
Date updated,
Integer progress,
ServerStatus status) |
Modifier and Type | Method and Description |
---|---|
static Server.Builder<?> |
builder() |
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.
|
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()
Actually, security groups are not returned by nova on server query but is
needed when creating a server to specify a set of groups
|
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() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Server.Builder<?> |
toBuilder() |
getId, getLinks, getOrderedSelfReferences, getSelfURI, getURI, toString
@ConstructorProperties(value={"id","links","orderedSelfReferences","name","metadata","addresses","accessIPv4","accessIPv6","adminPass","flavorRef","hostId","imageRef","affinityId","uuid","flavor","image","key_name","security_groups","created","updated","progress","status"}) protected Server(int id, List<Map<String,String>> links, Map<Resource.LinkType,URI> orderedSelfReferences, String name, @Nullable Map<String,String> metadata, @Nullable Addresses addresses, @Nullable String accessIPv4, @Nullable String accessIPv6, @Nullable String adminPass, @Nullable String flavorRef, @Nullable String hostId, @Nullable String imageRef, @Nullable String affinityId, @Nullable String uuid, @Nullable Flavor flavor, @Nullable Image image, @Nullable String keyName, @Nullable Set<SecurityGroup> securityGroups, @Nullable Date created, @Nullable Date updated, @Nullable Integer progress, @Nullable ServerStatus status)
public static Server.Builder<?> builder()
public Server.Builder<?> toBuilder()
public String getName()
@Nullable public String getFlavorRef()
getFlavor()
@Nullable public String getHostId()
@Nullable public String getImageRef()
getImage()
.public Image getImage()
public Set<SecurityGroup> getSecurityGroups()
public ServerStatus getStatus()
Copyright © 2009-2013 jclouds. All Rights Reserved.