public class Template extends BaseResource
Java class for Template complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Template">
<complexContent>
<extension base="{}BaseResource">
<sequence>
<element ref="{}vm" minOccurs="0"/>
<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="bios" type="{}Bios" minOccurs="0"/>
<element name="os" type="{}OperatingSystem" minOccurs="0"/>
<element ref="{}cluster" minOccurs="0"/>
<element ref="{}storage_domain" 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="high_availability" type="{}HighAvailability" minOccurs="0"/>
<element name="display" type="{}Display" 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 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 name="version" type="{}TemplateVersion" minOccurs="0"/>
<element ref="{}serial_number" minOccurs="0"/>
<element ref="{}cpu_profile" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Template() |
| Modifier and Type | Method and Description |
|---|---|
Bios |
getBios()
Gets the value of the bios 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.
|
Display |
getDisplay()
Gets the value of the display property.
|
Domain |
getDomain()
Gets the value of the domain property.
|
HighAvailability |
getHighAvailability()
Gets the value of the highAvailability property.
|
Long |
getMemory()
Gets the value of the memory property.
|
Integer |
getMigrationDowntime()
Gets the value of the migrationDowntime property.
|
String |
getOrigin()
Gets the value of the origin property.
|
OperatingSystem |
getOs()
Gets the value of the os property.
|
Object |
getPermissions()
Gets the value of the permissions property.
|
RngDevice |
getRngDevice()
Gets the value of the rngDevice property.
|
SerialNumber |
getSerialNumber()
Gets the value of the serialNumber property.
|
Boolean |
getSoundcardEnabled()
Gets the value of the soundcardEnabled property.
|
Sso |
getSso()
Gets the value of the sso property.
|
Boolean |
getStateless()
Gets the value of the stateless property.
|
Status |
getStatus()
Gets the value of the status property.
|
StorageDomain |
getStorageDomain()
Gets the value of the storageDomain 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.
|
TemplateVersion |
getVersion()
Gets the value of the version property.
|
VirtIOSCSI |
getVirtioScsi()
Gets the value of the virtioScsi property.
|
VM |
getVm()
Gets the value of the vm property.
|
boolean |
isSetBios() |
boolean |
isSetCluster() |
boolean |
isSetConsole() |
boolean |
isSetCpu() |
boolean |
isSetCpuProfile() |
boolean |
isSetCpuShares() |
boolean |
isSetCreationTime() |
boolean |
isSetCustomProperties() |
boolean |
isSetDeleteProtected() |
boolean |
isSetDisplay() |
boolean |
isSetDomain() |
boolean |
isSetHighAvailability() |
boolean |
isSetMemory() |
boolean |
isSetMigrationDowntime() |
boolean |
isSetOrigin() |
boolean |
isSetOs() |
boolean |
isSetPermissions() |
boolean |
isSetRngDevice() |
boolean |
isSetSerialNumber() |
boolean |
isSetSoundcardEnabled() |
boolean |
isSetSso() |
boolean |
isSetStateless() |
boolean |
isSetStatus() |
boolean |
isSetStorageDomain() |
boolean |
isSetTimezone() |
boolean |
isSetTunnelMigration() |
boolean |
isSetType() |
boolean |
isSetUsb() |
boolean |
isSetVersion() |
boolean |
isSetVirtioScsi() |
boolean |
isSetVm() |
void |
setBios(Bios value)
Sets the value of the bios 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 |
setDisplay(Display value)
Sets the value of the display property.
|
void |
setDomain(Domain value)
Sets the value of the domain property.
|
void |
setHighAvailability(HighAvailability value)
Sets the value of the highAvailability property.
|
void |
setMemory(Long value)
Sets the value of the memory property.
|
void |
setMigrationDowntime(Integer value)
Sets the value of the migrationDowntime property.
|
void |
setOrigin(String value)
Sets the value of the origin property.
|
void |
setOs(OperatingSystem value)
Sets the value of the os property.
|
void |
setPermissions(Permissions value)
Sets the value of the permissions property.
|
void |
setRngDevice(RngDevice value)
Sets the value of the rngDevice property.
|
void |
setSerialNumber(SerialNumber value)
Sets the value of the serialNumber property.
|
void |
setSoundcardEnabled(Boolean value)
Sets the value of the soundcardEnabled property.
|
void |
setSso(Sso value)
Sets the value of the sso property.
|
void |
setStateless(Boolean value)
Sets the value of the stateless property.
|
void |
setStatus(Status value)
Sets the value of the status property.
|
void |
setStorageDomain(StorageDomain value)
Sets the value of the storageDomain 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 |
setVersion(TemplateVersion value)
Sets the value of the version property.
|
void |
setVirtioScsi(VirtIOSCSI value)
Sets the value of the virtioScsi property.
|
void |
setVm(VM value)
Sets the value of the vm property.
|
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic void setVm(VM value)
value - allowed object is
VMpublic boolean isSetVm()
public 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 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 Cluster getCluster()
Clusterpublic void setCluster(Cluster value)
value - allowed object is
Clusterpublic boolean isSetCluster()
public StorageDomain getStorageDomain()
StorageDomainpublic void setStorageDomain(StorageDomain value)
value - allowed object is
StorageDomainpublic boolean isSetStorageDomain()
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 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 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 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 TemplateVersion getVersion()
TemplateVersionpublic void setVersion(TemplateVersion value)
value - allowed object is
TemplateVersionpublic boolean isSetVersion()
public SerialNumber getSerialNumber()
SerialNumberpublic void setSerialNumber(SerialNumber value)
value - allowed object is
SerialNumberpublic boolean isSetSerialNumber()
public CpuProfile getCpuProfile()
CpuProfilepublic void setCpuProfile(CpuProfile value)
value - allowed object is
CpuProfilepublic boolean isSetCpuProfile()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0