public class HostPnicNetworkResourceInfo extends DynamicData
Java class for HostPnicNetworkResourceInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostPnicNetworkResourceInfo">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="pnicDevice" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="availableBandwidthForVMTraffic" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="unusedBandwidthForVMTraffic" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="placedVirtualNics" type="{urn:vim25}HostPlacedVirtualNicIdentifier" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
availableBandwidthForVMTraffic |
protected List<HostPlacedVirtualNicIdentifier> |
placedVirtualNics |
protected String |
pnicDevice |
protected Long |
unusedBandwidthForVMTraffic |
| Constructor and Description |
|---|
HostPnicNetworkResourceInfo() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAvailableBandwidthForVMTraffic()
Gets the value of the availableBandwidthForVMTraffic property.
|
List<HostPlacedVirtualNicIdentifier> |
getPlacedVirtualNics()
Gets the value of the placedVirtualNics property.
|
String |
getPnicDevice()
Gets the value of the pnicDevice property.
|
Long |
getUnusedBandwidthForVMTraffic()
Gets the value of the unusedBandwidthForVMTraffic property.
|
void |
setAvailableBandwidthForVMTraffic(Long value)
Sets the value of the availableBandwidthForVMTraffic property.
|
void |
setPnicDevice(String value)
Sets the value of the pnicDevice property.
|
void |
setUnusedBandwidthForVMTraffic(Long value)
Sets the value of the unusedBandwidthForVMTraffic property.
|
protected String pnicDevice
protected Long availableBandwidthForVMTraffic
protected Long unusedBandwidthForVMTraffic
protected List<HostPlacedVirtualNicIdentifier> placedVirtualNics
public String getPnicDevice()
Stringpublic void setPnicDevice(String value)
value - allowed object is
Stringpublic Long getAvailableBandwidthForVMTraffic()
Longpublic void setAvailableBandwidthForVMTraffic(Long value)
value - allowed object is
Longpublic Long getUnusedBandwidthForVMTraffic()
Longpublic void setUnusedBandwidthForVMTraffic(Long value)
value - allowed object is
Longpublic List<HostPlacedVirtualNicIdentifier> getPlacedVirtualNics()
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 placedVirtualNics property.
For example, to add a new item, do as follows:
getPlacedVirtualNics().add(newItem);
Objects of the following type(s) are allowed in the list
HostPlacedVirtualNicIdentifier
Copyright © 2018. All rights reserved.