public class HostVirtualNic extends DynamicData
Java class for HostVirtualNic complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostVirtualNic">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="device" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="portgroup" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="spec" type="{urn:vim25}HostVirtualNicSpec"/>
<element name="port" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
device |
protected String |
key |
protected String |
port |
protected String |
portgroup |
protected HostVirtualNicSpec |
spec |
| Constructor and Description |
|---|
HostVirtualNic() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDevice()
Gets the value of the device property.
|
String |
getKey()
Gets the value of the key property.
|
String |
getPort()
Gets the value of the port property.
|
String |
getPortgroup()
Gets the value of the portgroup property.
|
HostVirtualNicSpec |
getSpec()
Gets the value of the spec property.
|
void |
setDevice(String value)
Sets the value of the device property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setPort(String value)
Sets the value of the port property.
|
void |
setPortgroup(String value)
Sets the value of the portgroup property.
|
void |
setSpec(HostVirtualNicSpec value)
Sets the value of the spec property.
|
protected String device
protected String key
protected String portgroup
protected HostVirtualNicSpec spec
protected String port
public String getDevice()
Stringpublic void setDevice(String value)
value - allowed object is
Stringpublic String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic String getPortgroup()
Stringpublic void setPortgroup(String value)
value - allowed object is
Stringpublic HostVirtualNicSpec getSpec()
HostVirtualNicSpecpublic void setSpec(HostVirtualNicSpec value)
value - allowed object is
HostVirtualNicSpecpublic String getPort()
StringCopyright © 2018. All rights reserved.