public class FileBackedVirtualDiskSpec extends VirtualDiskSpec
Java class for FileBackedVirtualDiskSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FileBackedVirtualDiskSpec">
<complexContent>
<extension base="{urn:vim25}VirtualDiskSpec">
<sequence>
<element name="capacityKb" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="profile" type="{urn:vim25}VirtualMachineProfileSpec" maxOccurs="unbounded" minOccurs="0"/>
<element name="crypto" type="{urn:vim25}CryptoSpec" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected long |
capacityKb |
protected CryptoSpec |
crypto |
protected List<VirtualMachineProfileSpec> |
profile |
adapterType, diskType| Constructor and Description |
|---|
FileBackedVirtualDiskSpec() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCapacityKb()
Gets the value of the capacityKb property.
|
CryptoSpec |
getCrypto()
Gets the value of the crypto property.
|
List<VirtualMachineProfileSpec> |
getProfile()
Gets the value of the profile property.
|
void |
setCapacityKb(long value)
Sets the value of the capacityKb property.
|
void |
setCrypto(CryptoSpec value)
Sets the value of the crypto property.
|
getAdapterType, getDiskType, setAdapterType, setDiskTypeprotected long capacityKb
protected List<VirtualMachineProfileSpec> profile
protected CryptoSpec crypto
public long getCapacityKb()
public void setCapacityKb(long value)
public List<VirtualMachineProfileSpec> getProfile()
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 profile property.
For example, to add a new item, do as follows:
getProfile().add(newItem);
Objects of the following type(s) are allowed in the list
VirtualMachineProfileSpec
public CryptoSpec getCrypto()
CryptoSpecpublic void setCrypto(CryptoSpec value)
value - allowed object is
CryptoSpecCopyright © 2018. All rights reserved.