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 name="uses_scsi_reservation" type="{http://www.w3.org/2001/XMLSchema}boolean" 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"/> <element name="storage_type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{}openstack_volume_type" 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.
|
OpenStackVolumeType |
getOpenstackVolumeType()
Gets the value of the openstackVolumeType 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 |
getStorageType()
Gets the value of the storageType property.
|
String |
getType()
Gets the value of the type property.
|
Boolean |
getUsesScsiReservation()
Gets the value of the usesScsiReservation 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 |
isSetOpenstackVolumeType() |
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 |
isSetStorageType() |
boolean |
isSetType() |
boolean |
isSetUsesScsiReservation() |
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 |
setOpenstackVolumeType(OpenStackVolumeType value)
Sets the value of the openstackVolumeType 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 |
setStorageType(String value)
Sets the value of the storageType property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setUsesScsiReservation(Boolean value)
Sets the value of the usesScsiReservation property.
|
void |
setWipeAfterDelete(Boolean value)
Sets the value of the wipeAfterDelete property.
|
getInstanceType, getTemplate, getVm, getVms, isSetInstanceType, isSetTemplate, isSetVm, isSetVms, setInstanceType, setTemplate, setVm, setVms
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 getAlias()
String
public void setAlias(String value)
value
- allowed object is
String
public boolean isSetAlias()
public String getImageId()
String
public void setImageId(String value)
value
- allowed object is
String
public boolean isSetImageId()
public StorageDomain getStorageDomain()
StorageDomain
public void setStorageDomain(StorageDomain value)
value
- allowed object is
StorageDomain
public boolean isSetStorageDomain()
public StorageDomains getStorageDomains()
StorageDomains
public void setStorageDomains(StorageDomains value)
value
- allowed object is
StorageDomains
public boolean isSetStorageDomains()
public void setSize(Long value)
value
- allowed object is
Long
public boolean isSetSize()
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public boolean isSetType()
public Long getProvisionedSize()
Long
public void setProvisionedSize(Long value)
value
- allowed object is
Long
public boolean isSetProvisionedSize()
public Long getActualSize()
Long
public void setActualSize(Long value)
value
- allowed object is
Long
public boolean isSetActualSize()
public Status getStatus()
Status
public void setStatus(Status value)
value
- allowed object is
Status
public boolean isSetStatus()
public String getInterface()
String
public void setInterface(String value)
value
- allowed object is
String
public boolean isSetInterface()
public String getFormat()
String
public void setFormat(String value)
value
- allowed object is
String
public boolean isSetFormat()
public Boolean getSparse()
Boolean
public void setSparse(Boolean value)
value
- allowed object is
Boolean
public boolean isSetSparse()
public Boolean getBootable()
Boolean
public void setBootable(Boolean value)
value
- allowed object is
Boolean
public boolean isSetBootable()
public Boolean getShareable()
Boolean
public void setShareable(Boolean value)
value
- allowed object is
Boolean
public boolean isSetShareable()
public Boolean getWipeAfterDelete()
Boolean
public void setWipeAfterDelete(Boolean value)
value
- allowed object is
Boolean
public boolean isSetWipeAfterDelete()
public Boolean getPropagateErrors()
Boolean
public void setPropagateErrors(Boolean value)
value
- allowed object is
Boolean
public boolean isSetPropagateErrors()
public Object getStatistics()
Statistics
public void setStatistics(Statistics value)
value
- allowed object is
Statistics
public boolean isSetStatistics()
public Boolean getActive()
Boolean
public void setActive(Boolean value)
value
- allowed object is
Boolean
public boolean isSetActive()
public Boolean getReadOnly()
Boolean
public void setReadOnly(Boolean value)
value
- allowed object is
Boolean
public boolean isSetReadOnly()
public Quota getQuota()
Quota
public void setQuota(Quota value)
value
- allowed object is
Quota
public boolean isSetQuota()
public Storage getLunStorage()
Storage
public void setLunStorage(Storage value)
value
- allowed object is
Storage
public boolean isSetLunStorage()
public String getSgio()
String
public void setSgio(String value)
value
- allowed object is
String
public boolean isSetSgio()
public Boolean getUsesScsiReservation()
Boolean
public void setUsesScsiReservation(Boolean value)
value
- allowed object is
Boolean
public boolean isSetUsesScsiReservation()
public Snapshot getSnapshot()
Snapshot
public void setSnapshot(Snapshot value)
value
- allowed object is
Snapshot
public boolean isSetSnapshot()
public DiskProfile getDiskProfile()
DiskProfile
public void setDiskProfile(DiskProfile value)
value
- allowed object is
DiskProfile
public boolean isSetDiskProfile()
public String getLogicalName()
String
public void setLogicalName(String value)
value
- allowed object is
String
public boolean isSetLogicalName()
public String getStorageType()
String
public void setStorageType(String value)
value
- allowed object is
String
public boolean isSetStorageType()
public OpenStackVolumeType getOpenstackVolumeType()
OpenStackVolumeType
public void setOpenstackVolumeType(OpenStackVolumeType value)
value
- allowed object is
OpenStackVolumeType
public boolean isSetOpenstackVolumeType()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0