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="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="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="{}storage_domain" minOccurs="0"/> <element name="start_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="{}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 name="tunnel_migration" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element ref="{}permissions" 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"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
VM() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
Long |
getMemory()
Gets the value of the memory property.
|
MemoryPolicy |
getMemoryPolicy()
Gets the value of the memoryPolicy property.
|
Object |
getNics()
Gets the value of the nics 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.
|
Object |
getSnapshots()
Gets the value of the snapshots 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.
|
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.
|
VmPool |
getVmPool()
Gets the value of the vmPool property.
|
Object |
getWatchDogs()
Gets the value of the watchdogs property.
|
boolean |
isSetCdroms() |
boolean |
isSetCluster() |
boolean |
isSetConsole() |
boolean |
isSetCpu() |
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 |
isSetMemory() |
boolean |
isSetMemoryPolicy() |
boolean |
isSetNics() |
boolean |
isSetOrigin() |
boolean |
isSetOs() |
boolean |
isSetPayloads() |
boolean |
isSetPermissions() |
boolean |
isSetPlacementPolicy() |
boolean |
isSetQuota() |
boolean |
isSetReportedDevices() |
boolean |
isSetSnapshots() |
boolean |
isSetStartTime() |
boolean |
isSetStateless() |
boolean |
isSetStatistics() |
boolean |
isSetStatus() |
boolean |
isSetStorageDomain() |
boolean |
isSetTags() |
boolean |
isSetTemplate() |
boolean |
isSetTimezone() |
boolean |
isSetTunnelMigration() |
boolean |
isSetType() |
boolean |
isSetUsb() |
boolean |
isSetVmPool() |
boolean |
isSetWatchdogs() |
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 |
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 |
setMemory(Long value)
Sets the value of the memory property.
|
void |
setMemoryPolicy(MemoryPolicy value)
Sets the value of the memoryPolicy property.
|
void |
setNics(Nics value)
Sets the value of the nics 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 |
setSnapshots(Snapshots value)
Sets the value of the snapshots 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 |
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 |
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 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 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 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 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 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 getTunnelMigration()
Boolean
public void setTunnelMigration(Boolean value)
value
- allowed object is
Boolean
public boolean isSetTunnelMigration()
public Object getPermissions()
Permissions
public void setPermissions(Permissions value)
value
- allowed object is
Permissions
public boolean isSetPermissions()
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()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0