public class HostDiskMappingOption extends DynamicData
Java class for HostDiskMappingOption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostDiskMappingOption">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="physicalPartition" type="{urn:vim25}HostDiskMappingPartitionOption" maxOccurs="unbounded" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected List<HostDiskMappingPartitionOption> |
physicalPartition |
| Constructor and Description |
|---|
HostDiskMappingOption() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the value of the name property.
|
List<HostDiskMappingPartitionOption> |
getPhysicalPartition()
Gets the value of the physicalPartition property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected List<HostDiskMappingPartitionOption> physicalPartition
protected String name
public List<HostDiskMappingPartitionOption> getPhysicalPartition()
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 physicalPartition property.
For example, to add a new item, do as follows:
getPhysicalPartition().add(newItem);
Objects of the following type(s) are allowed in the list
HostDiskMappingPartitionOption
public String getName()
StringCopyright © 2018. All rights reserved.