public final class PCIDevice
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
PCIDevice
class contains properties describing information about a
single PCI device on a host.Modifier and Type | Class and Description |
---|---|
static class |
PCIDevice.Builder
Builder class for
PCIDevice . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
Modifier | Constructor and Description |
---|---|
|
PCIDevice()
Default constructor.
|
protected |
PCIDevice(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static PCIDevice |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static PCIDevice |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassCode()
Register that specifies the type of function the device performs.
|
java.lang.String |
getDid()
A unique number that identifies the specific device of the Vendor (VID).
|
Driver |
getDriver()
Currently installed driver used by the device.
|
Firmware |
getFirmware()
Currently installed firmware used by the device.
|
java.lang.String |
getModelName()
The name of the device model.
|
java.lang.String |
getPciAddress()
The device's address in a given ESXi host.
|
java.lang.String |
getSsid()
A unique number that identifies the specific device of Subsystem Vendor (SVID).
|
java.lang.String |
getSubClassCode()
Register that specifies the specific function the device performs.
|
java.lang.String |
getSvid()
A unique number that identifies the card manufacturer.
|
boolean |
getUsedByVsan()
Shows whether the device is part of VSAN cluster or not.
|
java.lang.String |
getVendor()
The name of the vendor.
|
java.lang.String |
getVid()
A unique number assigned to each computer hardware device that helps to identify
the chipset manufacturer.
|
int |
hashCode() |
void |
setClassCode(java.lang.String classCode)
Register that specifies the type of function the device performs.
|
void |
setDid(java.lang.String did)
A unique number that identifies the specific device of the Vendor (VID).
|
void |
setDriver(Driver driver)
Currently installed driver used by the device.
|
void |
setFirmware(Firmware firmware)
Currently installed firmware used by the device.
|
void |
setModelName(java.lang.String modelName)
The name of the device model.
|
void |
setPciAddress(java.lang.String pciAddress)
The device's address in a given ESXi host.
|
void |
setSsid(java.lang.String ssid)
A unique number that identifies the specific device of Subsystem Vendor (SVID).
|
void |
setSubClassCode(java.lang.String subClassCode)
Register that specifies the specific function the device performs.
|
void |
setSvid(java.lang.String svid)
A unique number that identifies the card manufacturer.
|
void |
setUsedByVsan(boolean usedByVsan)
Shows whether the device is part of VSAN cluster or not.
|
void |
setVendor(java.lang.String vendor)
The name of the vendor.
|
void |
setVid(java.lang.String vid)
A unique number assigned to each computer hardware device that helps to identify
the chipset manufacturer.
|
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public PCIDevice()
protected PCIDevice(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getPciAddress()
public void setPciAddress(java.lang.String pciAddress)
pciAddress
- New value for the property.public java.lang.String getVid()
public void setVid(java.lang.String vid)
vid
- New value for the property.public java.lang.String getDid()
public void setDid(java.lang.String did)
did
- New value for the property.public java.lang.String getSvid()
public void setSvid(java.lang.String svid)
svid
- New value for the property.public java.lang.String getSsid()
public void setSsid(java.lang.String ssid)
ssid
- New value for the property.public java.lang.String getVendor()
public void setVendor(java.lang.String vendor)
vendor
- New value for the property.public java.lang.String getModelName()
public void setModelName(java.lang.String modelName)
modelName
- New value for the property.public java.lang.String getClassCode()
public void setClassCode(java.lang.String classCode)
classCode
- New value for the property.public java.lang.String getSubClassCode()
public void setSubClassCode(java.lang.String subClassCode)
subClassCode
- New value for the property.public Driver getDriver()
public void setDriver(Driver driver)
driver
- New value for the property.public Firmware getFirmware()
null
firmware is unknown.public void setFirmware(Firmware firmware)
null
firmware is unknown.firmware
- New value for the property.public boolean getUsedByVsan()
public void setUsedByVsan(boolean usedByVsan)
usedByVsan
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static PCIDevice _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static PCIDevice _newInstance2(com.vmware.vapi.data.StructValue structValue)