public class Server extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Server.Builder<T extends Server.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Server(int id,
String name,
Map<String,String> metadata,
Addresses addresses,
String adminPass,
Integer flavorId,
String hostId,
Integer imageId,
Integer sharedIpGroupId,
Integer progress,
ServerStatus status) |
Modifier and Type | Method and Description |
---|---|
static Server.Builder<?> |
builder() |
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() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Server.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","metadata","addresses","adminPass","flavorId","hostId","imageId","sharedIpGroupId","progress","status"}) protected Server(int id, String name, @Nullable Map<String,String> metadata, @Nullable Addresses addresses, @Nullable String adminPass, @Nullable Integer flavorId, @Nullable String hostId, @Nullable Integer imageId, @Nullable Integer sharedIpGroupId, @Nullable Integer progress, @Nullable ServerStatus status)
public static Server.Builder<?> builder()
public Server.Builder<?> toBuilder()
public int getId()
public String getName()
@Nullable public String getHostId()
public ServerStatus getStatus()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.