public class VirtualMachine extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VirtualMachine.Builder<T extends VirtualMachine.Builder<T>> |
static class |
VirtualMachine.State |
Modifier | Constructor and Description |
---|---|
protected |
VirtualMachine(String id,
String account,
long cpuCount,
long cpuSpeed,
String cpuUsed,
String displayName,
Date created,
String domain,
String domainId,
boolean usesVirtualNetwork,
String group,
String groupId,
String guestOSId,
boolean HAEnabled,
String hostId,
String hostname,
String IPAddress,
String ISODisplayText,
String ISOId,
String ISOName,
String jobId,
Integer jobStatus,
long memory,
String name,
Long networkKbsRead,
Long networkKbsWrite,
String password,
boolean passwordEnabled,
String publicIP,
String publicIPId,
String rootDeviceId,
String rootDeviceType,
String serviceOfferingId,
String serviceOfferingName,
VirtualMachine.State state,
String templateDisplayText,
String templateId,
String templateName,
String zoneId,
String zoneName,
Set<NIC> nics,
String hypervisor,
Set<SecurityGroup> securityGroups,
Set<Tag> tags) |
@ConstructorProperties(value={"id","account","cpunumber","cpuspeed","cpuused","displayname","created","domain","domainid","forvirtualnetwork","group","groupid","guestosid","haenable","hostid","hostname","ipaddress","isodisplaytext","isoid","isoname","jobid","jobstatus","memory","name","networkkbsread","networkkbswrite","password","passwordenabled","publicip","publicipid","rootdeviceid","rootdevicetype","serviceofferingid","serviceofferingname","state","templatedisplaytext","templateid","templatename","zoneid","zonename","nic","hypervisor","securitygroup","tags"}) protected VirtualMachine(String id, @Nullable String account, long cpuCount, long cpuSpeed, @Nullable String cpuUsed, @Nullable String displayName, @Nullable Date created, @Nullable String domain, @Nullable String domainId, boolean usesVirtualNetwork, @Nullable String group, @Nullable String groupId, @Nullable String guestOSId, boolean HAEnabled, @Nullable String hostId, @Nullable String hostname, String IPAddress, String ISODisplayText, @Nullable String ISOId, @Nullable String ISOName, @Nullable String jobId, @Nullable Integer jobStatus, long memory, @Nullable String name, @Nullable Long networkKbsRead, @Nullable Long networkKbsWrite, @Nullable String password, boolean passwordEnabled, @Nullable String publicIP, @Nullable String publicIPId, @Nullable String rootDeviceId, @Nullable String rootDeviceType, @Nullable String serviceOfferingId, @Nullable String serviceOfferingName, @Nullable VirtualMachine.State state, @Nullable String templateDisplayText, @Nullable String templateId, @Nullable String templateName, @Nullable String zoneId, @Nullable String zoneName, @Nullable Set<NIC> nics, @Nullable String hypervisor, @Nullable Set<SecurityGroup> securityGroups, @Nullable Set<Tag> tags)
public static VirtualMachine.Builder<?> builder()
public VirtualMachine.Builder<?> toBuilder()
public String getId()
@Nullable public String getAccount()
public long getCpuCount()
public long getCpuSpeed()
public float getCpuUsed()
@Nullable public String getDisplayName()
@Nullable public Date getCreated()
@Nullable public String getDomain()
@Nullable public String getDomainId()
public boolean usesVirtualNetwork()
public boolean isHAEnabled()
@Nullable public String getHostname()
@Nullable public String getISODisplayText()
@Nullable public String getISOId()
@Nullable public String getISOName()
@Nullable public String getJobId()
@Nullable public Integer getJobStatus()
public long getMemory()
@Nullable public Long getNetworkKbsRead()
@Nullable public Long getNetworkKbsWrite()
@Nullable public String getPassword()
public boolean isPasswordEnabled()
@Nullable public String getPublicIPId()
@Nullable public String getRootDeviceType()
@Nullable public String getServiceOfferingId()
@Nullable public String getServiceOfferingName()
@Nullable public VirtualMachine.State getState()
@Nullable public String getTemplateDisplayText()
@Nullable public String getTemplateId()
@Nullable public String getTemplateName()
@Nullable public String getZoneId()
@Nullable public String getZoneName()
public Set<SecurityGroup> getSecurityGroups()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.