public class VmDiskFileInfo extends FileInfo
Java class for VmDiskFileInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VmDiskFileInfo">
<complexContent>
<extension base="{urn:vim25}FileInfo">
<sequence>
<element name="diskType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="capacityKb" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="hardwareVersion" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="controllerType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="diskExtents" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="thin" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="encryption" type="{urn:vim25}VmDiskFileEncryptionInfo" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
capacityKb |
protected String |
controllerType |
protected List<String> |
diskExtents |
protected String |
diskType |
protected VmDiskFileEncryptionInfo |
encryption |
protected Integer |
hardwareVersion |
protected Boolean |
thin |
fileSize, friendlyName, modification, owner, path| Constructor and Description |
|---|
VmDiskFileInfo() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCapacityKb()
Gets the value of the capacityKb property.
|
String |
getControllerType()
Gets the value of the controllerType property.
|
List<String> |
getDiskExtents()
Gets the value of the diskExtents property.
|
String |
getDiskType()
Gets the value of the diskType property.
|
VmDiskFileEncryptionInfo |
getEncryption()
Gets the value of the encryption property.
|
Integer |
getHardwareVersion()
Gets the value of the hardwareVersion property.
|
Boolean |
isThin()
Gets the value of the thin property.
|
void |
setCapacityKb(Long value)
Sets the value of the capacityKb property.
|
void |
setControllerType(String value)
Sets the value of the controllerType property.
|
void |
setDiskType(String value)
Sets the value of the diskType property.
|
void |
setEncryption(VmDiskFileEncryptionInfo value)
Sets the value of the encryption property.
|
void |
setHardwareVersion(Integer value)
Sets the value of the hardwareVersion property.
|
void |
setThin(Boolean value)
Sets the value of the thin property.
|
getFileSize, getFriendlyName, getModification, getOwner, getPath, setFileSize, setFriendlyName, setModification, setOwner, setPathprotected String diskType
protected Long capacityKb
protected Integer hardwareVersion
protected String controllerType
protected Boolean thin
protected VmDiskFileEncryptionInfo encryption
public String getDiskType()
Stringpublic void setDiskType(String value)
value - allowed object is
Stringpublic Long getCapacityKb()
Longpublic void setCapacityKb(Long value)
value - allowed object is
Longpublic Integer getHardwareVersion()
Integerpublic void setHardwareVersion(Integer value)
value - allowed object is
Integerpublic String getControllerType()
Stringpublic void setControllerType(String value)
value - allowed object is
Stringpublic List<String> getDiskExtents()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the diskExtents property.
For example, to add a new item, do as follows:
getDiskExtents().add(newItem);
Objects of the following type(s) are allowed in the list
String
public Boolean isThin()
Booleanpublic void setThin(Boolean value)
value - allowed object is
Booleanpublic VmDiskFileEncryptionInfo getEncryption()
VmDiskFileEncryptionInfopublic void setEncryption(VmDiskFileEncryptionInfo value)
value - allowed object is
VmDiskFileEncryptionInfoCopyright © 2018. All rights reserved.