public class VM extends BaseResource
Java class for VM complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VM">
<complexContent>
<extension base="{}BaseResource">
<sequence>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{}status" minOccurs="0"/>
<element name="stop_reason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="memory" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="cpu" type="{}CPU" minOccurs="0"/>
<element name="cpu_shares" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="bios" type="{}Bios" minOccurs="0"/>
<element name="os" type="{}OperatingSystem" minOccurs="0"/>
<element name="high_availability" type="{}HighAvailability" minOccurs="0"/>
<element name="display" type="{}Display" minOccurs="0"/>
<element ref="{}host" minOccurs="0"/>
<element ref="{}cluster" minOccurs="0"/>
<element ref="{}template" minOccurs="0"/>
<element ref="{}instance_type" minOccurs="0"/>
<element ref="{}storage_domain" minOccurs="0"/>
<element name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="stop_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="creation_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="origin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="stateless" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="delete_protected" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element ref="{}sso" minOccurs="0"/>
<element ref="{}rng_device" minOccurs="0"/>
<element ref="{}console" minOccurs="0"/>
<element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{}domain" minOccurs="0"/>
<element name="custom_properties" type="{}CustomProperties" minOccurs="0"/>
<element name="payloads" type="{}Payloads" minOccurs="0"/>
<element name="statistics" type="{}Statistics" minOccurs="0"/>
<element name="disks" type="{}Disks" minOccurs="0"/>
<element ref="{}initialization" minOccurs="0"/>
<element name="nics" type="{}Nics" minOccurs="0"/>
<element name="tags" type="{}Tags" minOccurs="0"/>
<element name="snapshots" type="{}Snapshots" minOccurs="0"/>
<element name="placement_policy" type="{}VmPlacementPolicy" minOccurs="0"/>
<element name="memory_policy" type="{}MemoryPolicy" minOccurs="0"/>
<element name="guest_info" type="{}GuestInfo" minOccurs="0"/>
<element ref="{}quota" minOccurs="0"/>
<element ref="{}usb" minOccurs="0"/>
<element ref="{}soundcard_enabled" minOccurs="0"/>
<element name="tunnel_migration" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="migration_downtime" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element ref="{}virtio_scsi" minOccurs="0"/>
<element ref="{}permissions" minOccurs="0"/>
<element ref="{}cpu_profile" minOccurs="0"/>
<element ref="{}vmpool" minOccurs="0"/>
<element ref="{}cdroms" minOccurs="0"/>
<element ref="{}floppies" minOccurs="0"/>
<element ref="{}reported_devices" minOccurs="0"/>
<element ref="{}watchdogs" minOccurs="0"/>
<element name="use_latest_template_version" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element ref="{}serial_number" minOccurs="0"/>
<element name="next_run_configuration_exists" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="numa_tune_mode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
VM() |
| Modifier and Type | Method and Description |
|---|---|
Bios |
getBios()
Gets the value of the bios property.
|
Object |
getCdRoms()
Gets the value of the cdroms property.
|
Cluster |
getCluster()
Gets the value of the cluster property.
|
Console |
getConsole()
Gets the value of the console property.
|
CPU |
getCpu()
Gets the value of the cpu property.
|
CpuProfile |
getCpuProfile()
Gets the value of the cpuProfile property.
|
Integer |
getCpuShares()
Gets the value of the cpuShares property.
|
XMLGregorianCalendar |
getCreationTime()
Gets the value of the creationTime property.
|
CustomProperties |
getCustomProperties()
Gets the value of the customProperties property.
|
Boolean |
getDeleteProtected()
Gets the value of the deleteProtected property.
|
Object |
getDisks()
Gets the value of the disks property.
|
Display |
getDisplay()
Gets the value of the display property.
|
Domain |
getDomain()
Gets the value of the domain property.
|
Floppies |
getFloppies()
Gets the value of the floppies property.
|
GuestInfo |
getGuestInfo()
Gets the value of the guestInfo property.
|
HighAvailability |
getHighAvailability()
Gets the value of the highAvailability property.
|
Host |
getHost()
Gets the value of the host property.
|
Initialization |
getInitialization()
Gets the value of the initialization property.
|
InstanceType |
getInstanceType()
Gets the value of the instanceType property.
|
Long |
getMemory()
Gets the value of the memory property.
|
MemoryPolicy |
getMemoryPolicy()
Gets the value of the memoryPolicy property.
|
Integer |
getMigrationDowntime()
Gets the value of the migrationDowntime property.
|
Boolean |
getNextRunConfigurationExists()
Gets the value of the nextRunConfigurationExists property.
|
Object |
getNics()
Gets the value of the nics property.
|
String |
getNumaTuneMode()
Gets the value of the numaTuneMode property.
|
String |
getOrigin()
Gets the value of the origin property.
|
OperatingSystem |
getOs()
Gets the value of the os property.
|
Payloads |
getPayloads()
Gets the value of the payloads property.
|
Object |
getPermissions()
Gets the value of the permissions property.
|
VmPlacementPolicy |
getPlacementPolicy()
Gets the value of the placementPolicy property.
|
Quota |
getQuota()
Gets the value of the quota property.
|
Object |
getReportedDevices()
Gets the value of the reportedDevices property.
|
RngDevice |
getRngDevice()
Gets the value of the rngDevice property.
|
SerialNumber |
getSerialNumber()
Gets the value of the serialNumber property.
|
Object |
getSnapshots()
Gets the value of the snapshots property.
|
Boolean |
getSoundcardEnabled()
Gets the value of the soundcardEnabled property.
|
Sso |
getSso()
Gets the value of the sso property.
|
XMLGregorianCalendar |
getStartTime()
Gets the value of the startTime property.
|
Boolean |
getStateless()
Gets the value of the stateless property.
|
Object |
getStatistics()
Gets the value of the statistics property.
|
Status |
getStatus()
Gets the value of the status property.
|
String |
getStopReason()
Gets the value of the stopReason property.
|
XMLGregorianCalendar |
getStopTime()
Gets the value of the stopTime property.
|
StorageDomain |
getStorageDomain()
Gets the value of the storageDomain property.
|
Object |
getTags()
Gets the value of the tags property.
|
Template |
getTemplate()
Gets the value of the template property.
|
String |
getTimezone()
Gets the value of the timezone property.
|
Boolean |
getTunnelMigration()
Gets the value of the tunnelMigration property.
|
String |
getType()
Gets the value of the type property.
|
Usb |
getUsb()
Gets the value of the usb property.
|
Boolean |
getUseLatestTemplateVersion()
Gets the value of the useLatestTemplateVersion property.
|
VirtIOSCSI |
getVirtioScsi()
Gets the value of the virtioScsi property.
|
VmPool |
getVmPool()
Gets the value of the vmPool property.
|
Object |
getWatchDogs()
Gets the value of the watchdogs property.
|
boolean |
isSetBios() |
boolean |
isSetCdroms() |
boolean |
isSetCluster() |
boolean |
isSetConsole() |
boolean |
isSetCpu() |
boolean |
isSetCpuProfile() |
boolean |
isSetCpuShares() |
boolean |
isSetCreationTime() |
boolean |
isSetCustomProperties() |
boolean |
isSetDeleteProtected() |
boolean |
isSetDisks() |
boolean |
isSetDisplay() |
boolean |
isSetDomain() |
boolean |
isSetFloppies() |
boolean |
isSetGuestInfo() |
boolean |
isSetHighAvailability() |
boolean |
isSetHost() |
boolean |
isSetInitialization() |
boolean |
isSetInstanceType() |
boolean |
isSetMemory() |
boolean |
isSetMemoryPolicy() |
boolean |
isSetMigrationDowntime() |
boolean |
isSetNextRunConfigurationExists() |
boolean |
isSetNics() |
boolean |
isSetNumaTuneMode() |
boolean |
isSetOrigin() |
boolean |
isSetOs() |
boolean |
isSetPayloads() |
boolean |
isSetPermissions() |
boolean |
isSetPlacementPolicy() |
boolean |
isSetQuota() |
boolean |
isSetReportedDevices() |
boolean |
isSetRngDevice() |
boolean |
isSetSerialNumber() |
boolean |
isSetSnapshots() |
boolean |
isSetSoundcardEnabled() |
boolean |
isSetSso() |
boolean |
isSetStartTime() |
boolean |
isSetStateless() |
boolean |
isSetStatistics() |
boolean |
isSetStatus() |
boolean |
isSetStopReason() |
boolean |
isSetStopTime() |
boolean |
isSetStorageDomain() |
boolean |
isSetTags() |
boolean |
isSetTemplate() |
boolean |
isSetTimezone() |
boolean |
isSetTunnelMigration() |
boolean |
isSetType() |
boolean |
isSetUsb() |
boolean |
isSetUseLatestTemplateVersion() |
boolean |
isSetVirtioScsi() |
boolean |
isSetVmPool() |
boolean |
isSetWatchdogs() |
void |
setBios(Bios value)
Sets the value of the bios property.
|
void |
setCdroms(CdRoms value)
Sets the value of the cdroms property.
|
void |
setCluster(Cluster value)
Sets the value of the cluster property.
|
void |
setConsole(Console value)
Sets the value of the console property.
|
void |
setCpu(CPU value)
Sets the value of the cpu property.
|
void |
setCpuProfile(CpuProfile value)
Sets the value of the cpuProfile property.
|
void |
setCpuShares(Integer value)
Sets the value of the cpuShares property.
|
void |
setCreationTime(XMLGregorianCalendar value)
Sets the value of the creationTime property.
|
void |
setCustomProperties(CustomProperties value)
Sets the value of the customProperties property.
|
void |
setDeleteProtected(Boolean value)
Sets the value of the deleteProtected property.
|
void |
setDisks(Disks value)
Sets the value of the disks property.
|
void |
setDisplay(Display value)
Sets the value of the display property.
|
void |
setDomain(Domain value)
Sets the value of the domain property.
|
void |
setFloppies(Floppies value)
Sets the value of the floppies property.
|
void |
setGuestInfo(GuestInfo value)
Sets the value of the guestInfo property.
|
void |
setHighAvailability(HighAvailability value)
Sets the value of the highAvailability property.
|
void |
setHost(Host value)
Sets the value of the host property.
|
void |
setInitialization(Initialization value)
Sets the value of the initialization property.
|
void |
setInstanceType(InstanceType value)
Sets the value of the instanceType property.
|
void |
setMemory(Long value)
Sets the value of the memory property.
|
void |
setMemoryPolicy(MemoryPolicy value)
Sets the value of the memoryPolicy property.
|
void |
setMigrationDowntime(Integer value)
Sets the value of the migrationDowntime property.
|
void |
setNextRunConfigurationExists(Boolean value)
Sets the value of the nextRunConfigurationExists property.
|
void |
setNics(Nics value)
Sets the value of the nics property.
|
void |
setNumaTuneMode(String value)
Sets the value of the numaTuneMode property.
|
void |
setOrigin(String value)
Sets the value of the origin property.
|
void |
setOs(OperatingSystem value)
Sets the value of the os property.
|
void |
setPayloads(Payloads value)
Sets the value of the payloads property.
|
void |
setPermissions(Permissions value)
Sets the value of the permissions property.
|
void |
setPlacementPolicy(VmPlacementPolicy value)
Sets the value of the placementPolicy property.
|
void |
setQuota(Quota value)
Sets the value of the quota property.
|
void |
setReportedDevices(ReportedDevices value)
Sets the value of the reportedDevices property.
|
void |
setRngDevice(RngDevice value)
Sets the value of the rngDevice property.
|
void |
setSerialNumber(SerialNumber value)
Sets the value of the serialNumber property.
|
void |
setSnapshots(Snapshots value)
Sets the value of the snapshots property.
|
void |
setSoundcardEnabled(Boolean value)
Sets the value of the soundcardEnabled property.
|
void |
setSso(Sso value)
Sets the value of the sso property.
|
void |
setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.
|
void |
setStateless(Boolean value)
Sets the value of the stateless property.
|
void |
setStatistics(Statistics value)
Sets the value of the statistics property.
|
void |
setStatus(Status value)
Sets the value of the status property.
|
void |
setStopReason(String value)
Sets the value of the stopReason property.
|
void |
setStopTime(XMLGregorianCalendar value)
Sets the value of the stopTime property.
|
void |
setStorageDomain(StorageDomain value)
Sets the value of the storageDomain property.
|
void |
setTags(Tags value)
Sets the value of the tags property.
|
void |
setTemplate(Template value)
Sets the value of the template property.
|
void |
setTimezone(String value)
Sets the value of the timezone property.
|
void |
setTunnelMigration(Boolean value)
Sets the value of the tunnelMigration property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setUsb(Usb value)
Sets the value of the usb property.
|
void |
setUseLatestTemplateVersion(Boolean value)
Sets the value of the useLatestTemplateVersion property.
|
void |
setVirtioScsi(VirtIOSCSI value)
Sets the value of the virtioScsi property.
|
void |
setVmPool(VmPool value)
Sets the value of the vmPool property.
|
void |
setWatchdogs(WatchDogs value)
Sets the value of the watchdogs property.
|
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
public Status getStatus()
Statuspublic void setStatus(Status value)
value - allowed object is
Statuspublic boolean isSetStatus()
public String getStopReason()
Stringpublic void setStopReason(String value)
value - allowed object is
Stringpublic boolean isSetStopReason()
public Long getMemory()
Longpublic void setMemory(Long value)
value - allowed object is
Longpublic boolean isSetMemory()
public void setCpu(CPU value)
value - allowed object is
CPUpublic boolean isSetCpu()
public Integer getCpuShares()
Integerpublic void setCpuShares(Integer value)
value - allowed object is
Integerpublic boolean isSetCpuShares()
public void setBios(Bios value)
value - allowed object is
Biospublic boolean isSetBios()
public OperatingSystem getOs()
OperatingSystempublic void setOs(OperatingSystem value)
value - allowed object is
OperatingSystempublic boolean isSetOs()
public HighAvailability getHighAvailability()
HighAvailabilitypublic void setHighAvailability(HighAvailability value)
value - allowed object is
HighAvailabilitypublic boolean isSetHighAvailability()
public Display getDisplay()
Displaypublic void setDisplay(Display value)
value - allowed object is
Displaypublic boolean isSetDisplay()
public void setHost(Host value)
value - allowed object is
Hostpublic boolean isSetHost()
public Cluster getCluster()
Clusterpublic void setCluster(Cluster value)
value - allowed object is
Clusterpublic boolean isSetCluster()
public Template getTemplate()
Templatepublic void setTemplate(Template value)
value - allowed object is
Templatepublic boolean isSetTemplate()
public InstanceType getInstanceType()
InstanceTypepublic void setInstanceType(InstanceType value)
value - allowed object is
InstanceTypepublic boolean isSetInstanceType()
public StorageDomain getStorageDomain()
StorageDomainpublic void setStorageDomain(StorageDomain value)
value - allowed object is
StorageDomainpublic boolean isSetStorageDomain()
public XMLGregorianCalendar getStartTime()
XMLGregorianCalendarpublic void setStartTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic boolean isSetStartTime()
public XMLGregorianCalendar getStopTime()
XMLGregorianCalendarpublic void setStopTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic boolean isSetStopTime()
public XMLGregorianCalendar getCreationTime()
XMLGregorianCalendarpublic void setCreationTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic boolean isSetCreationTime()
public String getOrigin()
Stringpublic void setOrigin(String value)
value - allowed object is
Stringpublic boolean isSetOrigin()
public Boolean getStateless()
Booleanpublic void setStateless(Boolean value)
value - allowed object is
Booleanpublic boolean isSetStateless()
public Boolean getDeleteProtected()
Booleanpublic void setDeleteProtected(Boolean value)
value - allowed object is
Booleanpublic boolean isSetDeleteProtected()
public void setSso(Sso value)
value - allowed object is
Ssopublic boolean isSetSso()
public RngDevice getRngDevice()
RngDevicepublic void setRngDevice(RngDevice value)
value - allowed object is
RngDevicepublic boolean isSetRngDevice()
public Console getConsole()
Consolepublic void setConsole(Console value)
value - allowed object is
Consolepublic boolean isSetConsole()
public String getTimezone()
Stringpublic void setTimezone(String value)
value - allowed object is
Stringpublic boolean isSetTimezone()
public Domain getDomain()
Domainpublic void setDomain(Domain value)
value - allowed object is
Domainpublic boolean isSetDomain()
public CustomProperties getCustomProperties()
CustomPropertiespublic void setCustomProperties(CustomProperties value)
value - allowed object is
CustomPropertiespublic boolean isSetCustomProperties()
public Payloads getPayloads()
Payloadspublic void setPayloads(Payloads value)
value - allowed object is
Payloadspublic boolean isSetPayloads()
public Object getStatistics()
Statisticspublic void setStatistics(Statistics value)
value - allowed object is
Statisticspublic boolean isSetStatistics()
public Object getDisks()
Diskspublic void setDisks(Disks value)
value - allowed object is
Diskspublic boolean isSetDisks()
public Initialization getInitialization()
Initializationpublic void setInitialization(Initialization value)
value - allowed object is
Initializationpublic boolean isSetInitialization()
public Object getNics()
Nicspublic void setNics(Nics value)
value - allowed object is
Nicspublic boolean isSetNics()
public Object getTags()
Tagspublic void setTags(Tags value)
value - allowed object is
Tagspublic boolean isSetTags()
public Object getSnapshots()
Snapshotspublic void setSnapshots(Snapshots value)
value - allowed object is
Snapshotspublic boolean isSetSnapshots()
public VmPlacementPolicy getPlacementPolicy()
VmPlacementPolicypublic void setPlacementPolicy(VmPlacementPolicy value)
value - allowed object is
VmPlacementPolicypublic boolean isSetPlacementPolicy()
public MemoryPolicy getMemoryPolicy()
MemoryPolicypublic void setMemoryPolicy(MemoryPolicy value)
value - allowed object is
MemoryPolicypublic boolean isSetMemoryPolicy()
public GuestInfo getGuestInfo()
GuestInfopublic void setGuestInfo(GuestInfo value)
value - allowed object is
GuestInfopublic boolean isSetGuestInfo()
public Quota getQuota()
Quotapublic void setQuota(Quota value)
value - allowed object is
Quotapublic boolean isSetQuota()
public void setUsb(Usb value)
value - allowed object is
Usbpublic boolean isSetUsb()
public Boolean getSoundcardEnabled()
Booleanpublic void setSoundcardEnabled(Boolean value)
value - allowed object is
Booleanpublic boolean isSetSoundcardEnabled()
public Boolean getTunnelMigration()
Booleanpublic void setTunnelMigration(Boolean value)
value - allowed object is
Booleanpublic boolean isSetTunnelMigration()
public Integer getMigrationDowntime()
Integerpublic void setMigrationDowntime(Integer value)
value - allowed object is
Integerpublic boolean isSetMigrationDowntime()
public VirtIOSCSI getVirtioScsi()
VirtIOSCSIpublic void setVirtioScsi(VirtIOSCSI value)
value - allowed object is
VirtIOSCSIpublic boolean isSetVirtioScsi()
public Object getPermissions()
Permissionspublic void setPermissions(Permissions value)
value - allowed object is
Permissionspublic boolean isSetPermissions()
public CpuProfile getCpuProfile()
CpuProfilepublic void setCpuProfile(CpuProfile value)
value - allowed object is
CpuProfilepublic boolean isSetCpuProfile()
public VmPool getVmPool()
VmPoolpublic void setVmPool(VmPool value)
value - allowed object is
VmPoolpublic boolean isSetVmPool()
public Object getCdRoms()
CdRomspublic void setCdroms(CdRoms value)
value - allowed object is
CdRomspublic boolean isSetCdroms()
public Floppies getFloppies()
Floppiespublic void setFloppies(Floppies value)
value - allowed object is
Floppiespublic boolean isSetFloppies()
public Object getReportedDevices()
ReportedDevicespublic void setReportedDevices(ReportedDevices value)
value - allowed object is
ReportedDevicespublic boolean isSetReportedDevices()
public Object getWatchDogs()
WatchDogspublic void setWatchdogs(WatchDogs value)
value - allowed object is
WatchDogspublic boolean isSetWatchdogs()
public Boolean getUseLatestTemplateVersion()
Booleanpublic void setUseLatestTemplateVersion(Boolean value)
value - allowed object is
Booleanpublic boolean isSetUseLatestTemplateVersion()
public SerialNumber getSerialNumber()
SerialNumberpublic void setSerialNumber(SerialNumber value)
value - allowed object is
SerialNumberpublic boolean isSetSerialNumber()
public Boolean getNextRunConfigurationExists()
Booleanpublic void setNextRunConfigurationExists(Boolean value)
value - allowed object is
Booleanpublic boolean isSetNextRunConfigurationExists()
public String getNumaTuneMode()
Stringpublic void setNumaTuneMode(String value)
value - allowed object is
Stringpublic boolean isSetNumaTuneMode()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0