public class HostDiskPartitionLayout extends DynamicData
Java class for HostDiskPartitionLayout complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostDiskPartitionLayout">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="total" type="{urn:vim25}HostDiskDimensionsLba" minOccurs="0"/>
<element name="partition" type="{urn:vim25}HostDiskPartitionBlockRange" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<HostDiskPartitionBlockRange> |
partition |
protected HostDiskDimensionsLba |
total |
| Constructor and Description |
|---|
HostDiskPartitionLayout() |
| Modifier and Type | Method and Description |
|---|---|
List<HostDiskPartitionBlockRange> |
getPartition()
Gets the value of the partition property.
|
HostDiskDimensionsLba |
getTotal()
Gets the value of the total property.
|
void |
setTotal(HostDiskDimensionsLba value)
Sets the value of the total property.
|
protected HostDiskDimensionsLba total
protected List<HostDiskPartitionBlockRange> partition
public HostDiskDimensionsLba getTotal()
HostDiskDimensionsLbapublic void setTotal(HostDiskDimensionsLba value)
value - allowed object is
HostDiskDimensionsLbapublic List<HostDiskPartitionBlockRange> getPartition()
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 partition property.
For example, to add a new item, do as follows:
getPartition().add(newItem);
Objects of the following type(s) are allowed in the list
HostDiskPartitionBlockRange
Copyright © 2018. All rights reserved.