public class HostSriovNetworkDevicePoolInfo extends HostSriovDevicePoolInfo
Java class for HostSriovNetworkDevicePoolInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostSriovNetworkDevicePoolInfo">
<complexContent>
<extension base="{urn:vim25}HostSriovDevicePoolInfo">
<sequence>
<element name="switchKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="switchUuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="pnic" type="{urn:vim25}PhysicalNic" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<PhysicalNic> |
pnic |
protected String |
switchKey |
protected String |
switchUuid |
key| Constructor and Description |
|---|
HostSriovNetworkDevicePoolInfo() |
| Modifier and Type | Method and Description |
|---|---|
List<PhysicalNic> |
getPnic()
Gets the value of the pnic property.
|
String |
getSwitchKey()
Gets the value of the switchKey property.
|
String |
getSwitchUuid()
Gets the value of the switchUuid property.
|
void |
setSwitchKey(String value)
Sets the value of the switchKey property.
|
void |
setSwitchUuid(String value)
Sets the value of the switchUuid property.
|
getKey, setKeyprotected String switchKey
protected String switchUuid
protected List<PhysicalNic> pnic
public String getSwitchKey()
Stringpublic void setSwitchKey(String value)
value - allowed object is
Stringpublic String getSwitchUuid()
Stringpublic void setSwitchUuid(String value)
value - allowed object is
Stringpublic List<PhysicalNic> getPnic()
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 pnic property.
For example, to add a new item, do as follows:
getPnic().add(newItem);
Objects of the following type(s) are allowed in the list
PhysicalNic
Copyright © 2018. All rights reserved.