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="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="{}console" minOccurs="0"/> <element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{}domain" 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"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
Template() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
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.
|
VM |
getVm()
Gets the value of the vm property.
|
boolean |
isSetCluster() |
boolean |
isSetConsole() |
boolean |
isSetCpu() |
boolean |
isSetCpuShares() |
boolean |
isSetCreationTime() |
boolean |
isSetDeleteProtected() |
boolean |
isSetDisplay() |
boolean |
isSetDomain() |
boolean |
isSetHighAvailability() |
boolean |
isSetMemory() |
boolean |
isSetOrigin() |
boolean |
isSetOs() |
boolean |
isSetPermissions() |
boolean |
isSetStateless() |
boolean |
isSetStatus() |
boolean |
isSetStorageDomain() |
boolean |
isSetTimezone() |
boolean |
isSetTunnelMigration() |
boolean |
isSetType() |
boolean |
isSetUsb() |
boolean |
isSetVm() |
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 |
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 |
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 |
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 |
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, unsetLinks
getActions, isSetActions, setActions
public void setVm(VM value)
value
- allowed object is
VM
public boolean isSetVm()
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 Cluster getCluster()
Cluster
public void setCluster(Cluster value)
value
- allowed object is
Cluster
public boolean isSetCluster()
public StorageDomain getStorageDomain()
StorageDomain
public void setStorageDomain(StorageDomain value)
value
- allowed object is
StorageDomain
public boolean isSetStorageDomain()
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 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 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 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()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0