public class PhysicalNic extends DynamicData
Java class for PhysicalNic complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PhysicalNic">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="device" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="pci" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="driver" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="linkSpeed" type="{urn:vim25}PhysicalNicLinkInfo" minOccurs="0"/>
<element name="validLinkSpecification" type="{urn:vim25}PhysicalNicLinkInfo" maxOccurs="unbounded" minOccurs="0"/>
<element name="spec" type="{urn:vim25}PhysicalNicSpec"/>
<element name="wakeOnLanSupported" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="mac" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="fcoeConfiguration" type="{urn:vim25}FcoeConfig" minOccurs="0"/>
<element name="vmDirectPathGen2Supported" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="vmDirectPathGen2SupportedMode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="resourcePoolSchedulerAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="resourcePoolSchedulerDisallowedReason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="autoNegotiateSupported" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autoNegotiateSupported |
protected String |
device |
protected String |
driver |
protected FcoeConfig |
fcoeConfiguration |
protected String |
key |
protected PhysicalNicLinkInfo |
linkSpeed |
protected String |
mac |
protected String |
pci |
protected Boolean |
resourcePoolSchedulerAllowed |
protected List<String> |
resourcePoolSchedulerDisallowedReason |
protected PhysicalNicSpec |
spec |
protected List<PhysicalNicLinkInfo> |
validLinkSpecification |
protected Boolean |
vmDirectPathGen2Supported |
protected String |
vmDirectPathGen2SupportedMode |
protected boolean |
wakeOnLanSupported |
| Constructor and Description |
|---|
PhysicalNic() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDevice()
Gets the value of the device property.
|
String |
getDriver()
Gets the value of the driver property.
|
FcoeConfig |
getFcoeConfiguration()
Gets the value of the fcoeConfiguration property.
|
String |
getKey()
Gets the value of the key property.
|
PhysicalNicLinkInfo |
getLinkSpeed()
Gets the value of the linkSpeed property.
|
String |
getMac()
Gets the value of the mac property.
|
String |
getPci()
Gets the value of the pci property.
|
List<String> |
getResourcePoolSchedulerDisallowedReason()
Gets the value of the resourcePoolSchedulerDisallowedReason property.
|
PhysicalNicSpec |
getSpec()
Gets the value of the spec property.
|
List<PhysicalNicLinkInfo> |
getValidLinkSpecification()
Gets the value of the validLinkSpecification property.
|
String |
getVmDirectPathGen2SupportedMode()
Gets the value of the vmDirectPathGen2SupportedMode property.
|
Boolean |
isAutoNegotiateSupported()
Gets the value of the autoNegotiateSupported property.
|
Boolean |
isResourcePoolSchedulerAllowed()
Gets the value of the resourcePoolSchedulerAllowed property.
|
Boolean |
isVmDirectPathGen2Supported()
Gets the value of the vmDirectPathGen2Supported property.
|
boolean |
isWakeOnLanSupported()
Gets the value of the wakeOnLanSupported property.
|
void |
setAutoNegotiateSupported(Boolean value)
Sets the value of the autoNegotiateSupported property.
|
void |
setDevice(String value)
Sets the value of the device property.
|
void |
setDriver(String value)
Sets the value of the driver property.
|
void |
setFcoeConfiguration(FcoeConfig value)
Sets the value of the fcoeConfiguration property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setLinkSpeed(PhysicalNicLinkInfo value)
Sets the value of the linkSpeed property.
|
void |
setMac(String value)
Sets the value of the mac property.
|
void |
setPci(String value)
Sets the value of the pci property.
|
void |
setResourcePoolSchedulerAllowed(Boolean value)
Sets the value of the resourcePoolSchedulerAllowed property.
|
void |
setSpec(PhysicalNicSpec value)
Sets the value of the spec property.
|
void |
setVmDirectPathGen2Supported(Boolean value)
Sets the value of the vmDirectPathGen2Supported property.
|
void |
setVmDirectPathGen2SupportedMode(String value)
Sets the value of the vmDirectPathGen2SupportedMode property.
|
void |
setWakeOnLanSupported(boolean value)
Sets the value of the wakeOnLanSupported property.
|
protected String key
protected String device
protected String pci
protected String driver
protected PhysicalNicLinkInfo linkSpeed
protected List<PhysicalNicLinkInfo> validLinkSpecification
protected PhysicalNicSpec spec
protected boolean wakeOnLanSupported
protected String mac
protected FcoeConfig fcoeConfiguration
protected Boolean vmDirectPathGen2Supported
protected String vmDirectPathGen2SupportedMode
protected Boolean resourcePoolSchedulerAllowed
protected Boolean autoNegotiateSupported
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic String getDevice()
Stringpublic void setDevice(String value)
value - allowed object is
Stringpublic String getPci()
Stringpublic void setPci(String value)
value - allowed object is
Stringpublic String getDriver()
Stringpublic void setDriver(String value)
value - allowed object is
Stringpublic PhysicalNicLinkInfo getLinkSpeed()
PhysicalNicLinkInfopublic void setLinkSpeed(PhysicalNicLinkInfo value)
value - allowed object is
PhysicalNicLinkInfopublic List<PhysicalNicLinkInfo> getValidLinkSpecification()
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 validLinkSpecification property.
For example, to add a new item, do as follows:
getValidLinkSpecification().add(newItem);
Objects of the following type(s) are allowed in the list
PhysicalNicLinkInfo
public PhysicalNicSpec getSpec()
PhysicalNicSpecpublic void setSpec(PhysicalNicSpec value)
value - allowed object is
PhysicalNicSpecpublic boolean isWakeOnLanSupported()
public void setWakeOnLanSupported(boolean value)
public String getMac()
Stringpublic void setMac(String value)
value - allowed object is
Stringpublic FcoeConfig getFcoeConfiguration()
FcoeConfigpublic void setFcoeConfiguration(FcoeConfig value)
value - allowed object is
FcoeConfigpublic Boolean isVmDirectPathGen2Supported()
Booleanpublic void setVmDirectPathGen2Supported(Boolean value)
value - allowed object is
Booleanpublic String getVmDirectPathGen2SupportedMode()
Stringpublic void setVmDirectPathGen2SupportedMode(String value)
value - allowed object is
Stringpublic Boolean isResourcePoolSchedulerAllowed()
Booleanpublic void setResourcePoolSchedulerAllowed(Boolean value)
value - allowed object is
Booleanpublic List<String> getResourcePoolSchedulerDisallowedReason()
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 resourcePoolSchedulerDisallowedReason property.
For example, to add a new item, do as follows:
getResourcePoolSchedulerDisallowedReason().add(newItem);
Objects of the following type(s) are allowed in the list
String
public Boolean isAutoNegotiateSupported()
BooleanCopyright © 2018. All rights reserved.