public class Disk extends BaseDevice
Java class for Disk complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Disk">
<complexContent>
<extension base="{}BaseDevice">
<sequence>
<element name="alias" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="image_id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{}storage_domain" minOccurs="0"/>
<element ref="{}storage_domains" minOccurs="0"/>
<element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="provisioned_size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="actual_size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element ref="{}status" minOccurs="0"/>
<element name="interface" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="format" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="sparse" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="bootable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="shareable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="wipe_after_delete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="propagate_errors" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="statistics" type="{}Statistics" minOccurs="0"/>
<element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="read_only" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element ref="{}quota" minOccurs="0"/>
<element name="lun_storage" type="{}Storage" minOccurs="0"/>
<element name="sgio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{}snapshot" minOccurs="0"/>
<element ref="{}disk_profile" minOccurs="0"/>
<element name="logical_name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Disk() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getActive()
Gets the value of the active property.
|
Long |
getActualSize()
Gets the value of the actualSize property.
|
String |
getAlias()
Gets the value of the alias property.
|
Boolean |
getBootable()
Gets the value of the bootable property.
|
DiskProfile |
getDiskProfile()
Gets the value of the diskProfile property.
|
String |
getFormat()
Gets the value of the format property.
|
String |
getImageId()
Gets the value of the imageId property.
|
String |
getInterface()
Gets the value of the interface property.
|
String |
getLogicalName()
Gets the value of the logicalName property.
|
Storage |
getLunStorage()
Gets the value of the lunStorage property.
|
Boolean |
getPropagateErrors()
Gets the value of the propagateErrors property.
|
Long |
getProvisionedSize()
Gets the value of the provisionedSize property.
|
Quota |
getQuota()
Gets the value of the quota property.
|
Boolean |
getReadOnly()
Gets the value of the readOnly property.
|
String |
getSgio()
Gets the value of the sgio property.
|
Boolean |
getShareable()
Gets the value of the shareable property.
|
Long |
getSize()
Gets the value of the size property.
|
Snapshot |
getSnapshot()
Gets the value of the snapshot property.
|
Boolean |
getSparse()
Gets the value of the sparse 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.
|
StorageDomains |
getStorageDomains()
Gets the value of the storageDomains property.
|
String |
getType()
Gets the value of the type property.
|
Boolean |
getWipeAfterDelete()
Gets the value of the wipeAfterDelete property.
|
boolean |
isSetActive() |
boolean |
isSetActualSize() |
boolean |
isSetAlias() |
boolean |
isSetBootable() |
boolean |
isSetDiskProfile() |
boolean |
isSetFormat() |
boolean |
isSetImageId() |
boolean |
isSetInterface() |
boolean |
isSetLogicalName() |
boolean |
isSetLunStorage() |
boolean |
isSetPropagateErrors() |
boolean |
isSetProvisionedSize() |
boolean |
isSetQuota() |
boolean |
isSetReadOnly() |
boolean |
isSetSgio() |
boolean |
isSetShareable() |
boolean |
isSetSize() |
boolean |
isSetSnapshot() |
boolean |
isSetSparse() |
boolean |
isSetStatistics() |
boolean |
isSetStatus() |
boolean |
isSetStorageDomain() |
boolean |
isSetStorageDomains() |
boolean |
isSetType() |
boolean |
isSetWipeAfterDelete() |
void |
setActive(Boolean value)
Sets the value of the active property.
|
void |
setActualSize(Long value)
Sets the value of the actualSize property.
|
void |
setAlias(String value)
Sets the value of the alias property.
|
void |
setBootable(Boolean value)
Sets the value of the bootable property.
|
void |
setDiskProfile(DiskProfile value)
Sets the value of the diskProfile property.
|
void |
setFormat(String value)
Sets the value of the format property.
|
void |
setImageId(String value)
Sets the value of the imageId property.
|
void |
setInterface(String value)
Sets the value of the interface property.
|
void |
setLogicalName(String value)
Sets the value of the logicalName property.
|
void |
setLunStorage(Storage value)
Sets the value of the lunStorage property.
|
void |
setPropagateErrors(Boolean value)
Sets the value of the propagateErrors property.
|
void |
setProvisionedSize(Long value)
Sets the value of the provisionedSize property.
|
void |
setQuota(Quota value)
Sets the value of the quota property.
|
void |
setReadOnly(Boolean value)
Sets the value of the readOnly property.
|
void |
setSgio(String value)
Sets the value of the sgio property.
|
void |
setShareable(Boolean value)
Sets the value of the shareable property.
|
void |
setSize(Long value)
Sets the value of the size property.
|
void |
setSnapshot(Snapshot value)
Sets the value of the snapshot property.
|
void |
setSparse(Boolean value)
Sets the value of the sparse 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 |
setStorageDomains(StorageDomains value)
Sets the value of the storageDomains property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setWipeAfterDelete(Boolean value)
Sets the value of the wipeAfterDelete property.
|
getTemplate, getVm, isSetTemplate, isSetVm, setTemplate, setVmgetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic String getAlias()
Stringpublic void setAlias(String value)
value - allowed object is
Stringpublic boolean isSetAlias()
public String getImageId()
Stringpublic void setImageId(String value)
value - allowed object is
Stringpublic boolean isSetImageId()
public StorageDomain getStorageDomain()
StorageDomainpublic void setStorageDomain(StorageDomain value)
value - allowed object is
StorageDomainpublic boolean isSetStorageDomain()
public StorageDomains getStorageDomains()
StorageDomainspublic void setStorageDomains(StorageDomains value)
value - allowed object is
StorageDomainspublic boolean isSetStorageDomains()
public void setSize(Long value)
value - allowed object is
Longpublic boolean isSetSize()
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
public Long getProvisionedSize()
Longpublic void setProvisionedSize(Long value)
value - allowed object is
Longpublic boolean isSetProvisionedSize()
public Long getActualSize()
Longpublic void setActualSize(Long value)
value - allowed object is
Longpublic boolean isSetActualSize()
public Status getStatus()
Statuspublic void setStatus(Status value)
value - allowed object is
Statuspublic boolean isSetStatus()
public String getInterface()
Stringpublic void setInterface(String value)
value - allowed object is
Stringpublic boolean isSetInterface()
public String getFormat()
Stringpublic void setFormat(String value)
value - allowed object is
Stringpublic boolean isSetFormat()
public Boolean getSparse()
Booleanpublic void setSparse(Boolean value)
value - allowed object is
Booleanpublic boolean isSetSparse()
public Boolean getBootable()
Booleanpublic void setBootable(Boolean value)
value - allowed object is
Booleanpublic boolean isSetBootable()
public Boolean getShareable()
Booleanpublic void setShareable(Boolean value)
value - allowed object is
Booleanpublic boolean isSetShareable()
public Boolean getWipeAfterDelete()
Booleanpublic void setWipeAfterDelete(Boolean value)
value - allowed object is
Booleanpublic boolean isSetWipeAfterDelete()
public Boolean getPropagateErrors()
Booleanpublic void setPropagateErrors(Boolean value)
value - allowed object is
Booleanpublic boolean isSetPropagateErrors()
public Object getStatistics()
Statisticspublic void setStatistics(Statistics value)
value - allowed object is
Statisticspublic boolean isSetStatistics()
public Boolean getActive()
Booleanpublic void setActive(Boolean value)
value - allowed object is
Booleanpublic boolean isSetActive()
public Boolean getReadOnly()
Booleanpublic void setReadOnly(Boolean value)
value - allowed object is
Booleanpublic boolean isSetReadOnly()
public Quota getQuota()
Quotapublic void setQuota(Quota value)
value - allowed object is
Quotapublic boolean isSetQuota()
public Storage getLunStorage()
Storagepublic void setLunStorage(Storage value)
value - allowed object is
Storagepublic boolean isSetLunStorage()
public String getSgio()
Stringpublic void setSgio(String value)
value - allowed object is
Stringpublic boolean isSetSgio()
public Snapshot getSnapshot()
Snapshotpublic void setSnapshot(Snapshot value)
value - allowed object is
Snapshotpublic boolean isSetSnapshot()
public DiskProfile getDiskProfile()
DiskProfilepublic void setDiskProfile(DiskProfile value)
value - allowed object is
DiskProfilepublic boolean isSetDiskProfile()
public String getLogicalName()
Stringpublic void setLogicalName(String value)
value - allowed object is
Stringpublic boolean isSetLogicalName()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0