public class VmfsDatastoreCreateSpec extends VmfsDatastoreSpec
Java class for VmfsDatastoreCreateSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VmfsDatastoreCreateSpec">
<complexContent>
<extension base="{urn:vim25}VmfsDatastoreSpec">
<sequence>
<element name="partition" type="{urn:vim25}HostDiskPartitionSpec"/>
<element name="vmfs" type="{urn:vim25}HostVmfsSpec"/>
<element name="extent" type="{urn:vim25}HostScsiDiskPartition" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<HostScsiDiskPartition> |
extent |
protected HostDiskPartitionSpec |
partition |
protected HostVmfsSpec |
vmfs |
diskUuid| Constructor and Description |
|---|
VmfsDatastoreCreateSpec() |
| Modifier and Type | Method and Description |
|---|---|
List<HostScsiDiskPartition> |
getExtent()
Gets the value of the extent property.
|
HostDiskPartitionSpec |
getPartition()
Gets the value of the partition property.
|
HostVmfsSpec |
getVmfs()
Gets the value of the vmfs property.
|
void |
setPartition(HostDiskPartitionSpec value)
Sets the value of the partition property.
|
void |
setVmfs(HostVmfsSpec value)
Sets the value of the vmfs property.
|
getDiskUuid, setDiskUuidprotected HostDiskPartitionSpec partition
protected HostVmfsSpec vmfs
protected List<HostScsiDiskPartition> extent
public HostDiskPartitionSpec getPartition()
HostDiskPartitionSpecpublic void setPartition(HostDiskPartitionSpec value)
value - allowed object is
HostDiskPartitionSpecpublic HostVmfsSpec getVmfs()
HostVmfsSpecpublic void setVmfs(HostVmfsSpec value)
value - allowed object is
HostVmfsSpecpublic List<HostScsiDiskPartition> getExtent()
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 extent property.
For example, to add a new item, do as follows:
getExtent().add(newItem);
Objects of the following type(s) are allowed in the list
HostScsiDiskPartition
Copyright © 2018. All rights reserved.