public class HostDiskPartitionSpec extends DynamicData
Java class for HostDiskPartitionSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostDiskPartitionSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="partitionFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="chs" type="{urn:vim25}HostDiskDimensionsChs" minOccurs="0"/>
<element name="totalSectors" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="partition" type="{urn:vim25}HostDiskPartitionAttributes" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected HostDiskDimensionsChs |
chs |
protected List<HostDiskPartitionAttributes> |
partition |
protected String |
partitionFormat |
protected Long |
totalSectors |
| Constructor and Description |
|---|
HostDiskPartitionSpec() |
| Modifier and Type | Method and Description |
|---|---|
HostDiskDimensionsChs |
getChs()
Gets the value of the chs property.
|
List<HostDiskPartitionAttributes> |
getPartition()
Gets the value of the partition property.
|
String |
getPartitionFormat()
Gets the value of the partitionFormat property.
|
Long |
getTotalSectors()
Gets the value of the totalSectors property.
|
void |
setChs(HostDiskDimensionsChs value)
Sets the value of the chs property.
|
void |
setPartitionFormat(String value)
Sets the value of the partitionFormat property.
|
void |
setTotalSectors(Long value)
Sets the value of the totalSectors property.
|
protected String partitionFormat
protected HostDiskDimensionsChs chs
protected Long totalSectors
protected List<HostDiskPartitionAttributes> partition
public String getPartitionFormat()
Stringpublic void setPartitionFormat(String value)
value - allowed object is
Stringpublic HostDiskDimensionsChs getChs()
HostDiskDimensionsChspublic void setChs(HostDiskDimensionsChs value)
value - allowed object is
HostDiskDimensionsChspublic Long getTotalSectors()
Longpublic void setTotalSectors(Long value)
value - allowed object is
Longpublic List<HostDiskPartitionAttributes> 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
HostDiskPartitionAttributes
Copyright © 2018. All rights reserved.