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, unsetLinks
getActions, isSetActions, setActions
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public boolean isSetType()
public Status getStatus()
Status
public void setStatus(Status value)
value
- allowed object is
Status
public boolean isSetStatus()
public String getStopReason()
String
public void setStopReason(String value)
value
- allowed object is
String
public boolean isSetStopReason()
public Long getMemory()
Long
public void setMemory(Long value)
value
- allowed object is
Long
public boolean isSetMemory()
public void setCpu(CPU value)
value
- allowed object is
CPU
public boolean isSetCpu()
public Integer getCpuShares()
Integer
public void setCpuShares(Integer value)
value
- allowed object is
Integer
public boolean isSetCpuShares()
public void setBios(Bios value)
value
- allowed object is
Bios
public boolean isSetBios()
public OperatingSystem getOs()
OperatingSystem
public void setOs(OperatingSystem value)
value
- allowed object is
OperatingSystem
public boolean isSetOs()
public HighAvailability getHighAvailability()
HighAvailability
public void setHighAvailability(HighAvailability value)
value
- allowed object is
HighAvailability
public boolean isSetHighAvailability()
public Display getDisplay()
Display
public void setDisplay(Display value)
value
- allowed object is
Display
public boolean isSetDisplay()
public void setHost(Host value)
value
- allowed object is
Host
public boolean isSetHost()
public Cluster getCluster()
Cluster
public void setCluster(Cluster value)
value
- allowed object is
Cluster
public boolean isSetCluster()
public Template getTemplate()
Template
public void setTemplate(Template value)
value
- allowed object is
Template
public boolean isSetTemplate()
public InstanceType getInstanceType()
InstanceType
public void setInstanceType(InstanceType value)
value
- allowed object is
InstanceType
public boolean isSetInstanceType()
public StorageDomain getStorageDomain()
StorageDomain
public void setStorageDomain(StorageDomain value)
value
- allowed object is
StorageDomain
public boolean isSetStorageDomain()
public XMLGregorianCalendar getStartTime()
XMLGregorianCalendar
public void setStartTime(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public boolean isSetStartTime()
public XMLGregorianCalendar getStopTime()
XMLGregorianCalendar
public void setStopTime(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public boolean isSetStopTime()
public XMLGregorianCalendar getCreationTime()
XMLGregorianCalendar
public void setCreationTime(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public boolean isSetCreationTime()
public String getOrigin()
String
public void setOrigin(String value)
value
- allowed object is
String
public boolean isSetOrigin()
public Boolean getStateless()
Boolean
public void setStateless(Boolean value)
value
- allowed object is
Boolean
public boolean isSetStateless()
public Boolean getDeleteProtected()
Boolean
public void setDeleteProtected(Boolean value)
value
- allowed object is
Boolean
public boolean isSetDeleteProtected()
public void setSso(Sso value)
value
- allowed object is
Sso
public boolean isSetSso()
public RngDevice getRngDevice()
RngDevice
public void setRngDevice(RngDevice value)
value
- allowed object is
RngDevice
public boolean isSetRngDevice()
public Console getConsole()
Console
public void setConsole(Console value)
value
- allowed object is
Console
public boolean isSetConsole()
public String getTimezone()
String
public void setTimezone(String value)
value
- allowed object is
String
public boolean isSetTimezone()
public Domain getDomain()
Domain
public void setDomain(Domain value)
value
- allowed object is
Domain
public boolean isSetDomain()
public CustomProperties getCustomProperties()
CustomProperties
public void setCustomProperties(CustomProperties value)
value
- allowed object is
CustomProperties
public boolean isSetCustomProperties()
public Payloads getPayloads()
Payloads
public void setPayloads(Payloads value)
value
- allowed object is
Payloads
public boolean isSetPayloads()
public Object getStatistics()
Statistics
public void setStatistics(Statistics value)
value
- allowed object is
Statistics
public boolean isSetStatistics()
public Object getDisks()
Disks
public void setDisks(Disks value)
value
- allowed object is
Disks
public boolean isSetDisks()
public Initialization getInitialization()
Initialization
public void setInitialization(Initialization value)
value
- allowed object is
Initialization
public boolean isSetInitialization()
public Object getNics()
Nics
public void setNics(Nics value)
value
- allowed object is
Nics
public boolean isSetNics()
public Object getTags()
Tags
public void setTags(Tags value)
value
- allowed object is
Tags
public boolean isSetTags()
public Object getSnapshots()
Snapshots
public void setSnapshots(Snapshots value)
value
- allowed object is
Snapshots
public boolean isSetSnapshots()
public VmPlacementPolicy getPlacementPolicy()
VmPlacementPolicy
public void setPlacementPolicy(VmPlacementPolicy value)
value
- allowed object is
VmPlacementPolicy
public boolean isSetPlacementPolicy()
public MemoryPolicy getMemoryPolicy()
MemoryPolicy
public void setMemoryPolicy(MemoryPolicy value)
value
- allowed object is
MemoryPolicy
public boolean isSetMemoryPolicy()
public GuestInfo getGuestInfo()
GuestInfo
public void setGuestInfo(GuestInfo value)
value
- allowed object is
GuestInfo
public boolean isSetGuestInfo()
public Quota getQuota()
Quota
public void setQuota(Quota value)
value
- allowed object is
Quota
public boolean isSetQuota()
public void setUsb(Usb value)
value
- allowed object is
Usb
public boolean isSetUsb()
public Boolean getSoundcardEnabled()
Boolean
public void setSoundcardEnabled(Boolean value)
value
- allowed object is
Boolean
public boolean isSetSoundcardEnabled()
public Boolean getTunnelMigration()
Boolean
public void setTunnelMigration(Boolean value)
value
- allowed object is
Boolean
public boolean isSetTunnelMigration()
public Integer getMigrationDowntime()
Integer
public void setMigrationDowntime(Integer value)
value
- allowed object is
Integer
public boolean isSetMigrationDowntime()
public VirtIOSCSI getVirtioScsi()
VirtIOSCSI
public void setVirtioScsi(VirtIOSCSI value)
value
- allowed object is
VirtIOSCSI
public boolean isSetVirtioScsi()
public Object getPermissions()
Permissions
public void setPermissions(Permissions value)
value
- allowed object is
Permissions
public boolean isSetPermissions()
public CpuProfile getCpuProfile()
CpuProfile
public void setCpuProfile(CpuProfile value)
value
- allowed object is
CpuProfile
public boolean isSetCpuProfile()
public VmPool getVmPool()
VmPool
public void setVmPool(VmPool value)
value
- allowed object is
VmPool
public boolean isSetVmPool()
public Object getCdRoms()
CdRoms
public void setCdroms(CdRoms value)
value
- allowed object is
CdRoms
public boolean isSetCdroms()
public Floppies getFloppies()
Floppies
public void setFloppies(Floppies value)
value
- allowed object is
Floppies
public boolean isSetFloppies()
public Object getReportedDevices()
ReportedDevices
public void setReportedDevices(ReportedDevices value)
value
- allowed object is
ReportedDevices
public boolean isSetReportedDevices()
public Object getWatchDogs()
WatchDogs
public void setWatchdogs(WatchDogs value)
value
- allowed object is
WatchDogs
public boolean isSetWatchdogs()
public Boolean getUseLatestTemplateVersion()
Boolean
public void setUseLatestTemplateVersion(Boolean value)
value
- allowed object is
Boolean
public boolean isSetUseLatestTemplateVersion()
public SerialNumber getSerialNumber()
SerialNumber
public void setSerialNumber(SerialNumber value)
value
- allowed object is
SerialNumber
public boolean isSetSerialNumber()
public Boolean getNextRunConfigurationExists()
Boolean
public void setNextRunConfigurationExists(Boolean value)
value
- allowed object is
Boolean
public boolean isSetNextRunConfigurationExists()
public String getNumaTuneMode()
String
public void setNumaTuneMode(String value)
value
- allowed object is
String
public boolean isSetNumaTuneMode()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0