public final class NodeInterfaceProperties
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
NodeInterfaceProperties.Builder
Builder class for
NodeInterfaceProperties . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
ADMIN_STATUS_DOWN |
static java.lang.String |
ADMIN_STATUS_UP |
static java.lang.String |
CONNECTED_SWITCH_TYPE_DVS |
static java.lang.String |
CONNECTED_SWITCH_TYPE_N_VDS |
static java.lang.String |
CONNECTED_SWITCH_TYPE_VSS |
static java.lang.String |
INTERFACE_TYPE_BOND |
static java.lang.String |
INTERFACE_TYPE_PHYSICAL |
static java.lang.String |
INTERFACE_TYPE_TEAMING |
static java.lang.String |
INTERFACE_TYPE_VIRTUAL |
static java.lang.String |
LINK_STATUS_DOWN |
static java.lang.String |
LINK_STATUS_UP |
static java.lang.String |
SOURCE_CACHED |
static java.lang.String |
SOURCE_REALTIME |
static java.lang.String |
STATE_BFD_DOWN |
static java.lang.String |
STATE_INIT |
static java.lang.String |
STATE_INVALID_STATE |
static java.lang.String |
STATE_IP_WAITING |
static java.lang.String |
STATE_MAINTENANCE |
static java.lang.String |
STATE_NORMAL |
Modifier | Constructor and Description |
---|---|
|
NodeInterfaceProperties()
Default constructor.
|
protected |
NodeInterfaceProperties(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 NodeInterfaceProperties |
_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 NodeInterfaceProperties |
_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 |
getAdminStatus()
Possible values are:
ADMIN_STATUS_UP ADMIN_STATUS_DOWN
Interface administration status |
java.lang.Boolean |
getBackingNsxManaged()
Indicates whether backing of VIRTUAL network interface is managed by NSX
|
java.lang.String |
getConnectedSwitch()
Connected switch
|
java.lang.String |
getConnectedSwitchType()
Possible values are:
CONNECTED_SWITCH_TYPE_VSS
CONNECTED_SWITCH_TYPE_DVS
CONNECTED_SWITCH_TYPE_N_VDS
Type of switch associated with the interface. |
java.lang.String |
getDevice()
Device name.
|
java.lang.Boolean |
getDpuBacked()
If interface is backed by data processing unit (DPU) and state of DPU is
MANAGED, then this property is true.
|
java.lang.String |
getDpuId()
Data processing unit ID if the interface is backed by a DPU.
|
java.lang.String |
getDriver()
Driver name.
|
java.lang.Boolean |
getEnsCapable()
Interface capability for Enhanced Networking Stack
|
java.lang.Boolean |
getEnsEnabled()
Indicates whether interface is enabled for Enhanced Networking Stack
|
java.lang.Boolean |
getEnsInterruptCapable()
This boolean property describes if network interface is capable for Enhanced
Networking Stack interrupt
|
java.lang.Boolean |
getEnsInterruptEnabled()
This boolean property describes if network interface is enabled for Enhanced
Networking Stack interrupt
|
java.lang.Boolean |
getHostManaged()
Indicates whether interface is managed by the host
|
java.util.List<NodeInterfaceAlias> |
getInterfaceAlias()
IP Alias
|
java.lang.String |
getInterfaceId()
Interface ID
|
java.lang.String |
getInterfaceType()
Possible values are:
INTERFACE_TYPE_PHYSICAL
INTERFACE_TYPE_VIRTUAL
INTERFACE_TYPE_BOND
INTERFACE_TYPE_TEAMING
Interface Type |
java.lang.String |
getInterfaceUuid()
UUID of the interface
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getKey()
Device key.
|
java.lang.String |
getLinkStatus()
Possible values are:
LINK_STATUS_UP LINK_STATUS_DOWN
Interface administration status |
java.lang.String |
getLportAttachmentId()
LPort Attachment Id assigned to VIRTUAL network interface of a node
|
java.lang.Long |
getMtu()
Interface MTU format: int64
|
java.lang.String |
getPci()
PCI device.
|
java.lang.String |
getSource()
Possible values are:
SOURCE_REALTIME SOURCE_CACHED Source of
status data |
java.lang.Double |
getSpeed()
Interface speed in Mbps.
|
java.lang.String |
getState()
Possible values are:
STATE_INVALID_STATE
STATE_INIT STATE_NORMAL STATE_IP_WAITING STATE_BFD_DOWN STATE_MAINTENANCE This
property shows the current state of virtual tunnel end point (VTEP). |
int |
hashCode() |
void |
setAdminStatus(java.lang.String adminStatus)
Possible values are:
ADMIN_STATUS_UP ADMIN_STATUS_DOWN
Interface administration status |
void |
setBackingNsxManaged(java.lang.Boolean backingNsxManaged)
Indicates whether backing of VIRTUAL network interface is managed by NSX
|
void |
setConnectedSwitch(java.lang.String connectedSwitch)
Connected switch
|
void |
setConnectedSwitchType(java.lang.String connectedSwitchType)
Possible values are:
CONNECTED_SWITCH_TYPE_VSS
CONNECTED_SWITCH_TYPE_DVS
CONNECTED_SWITCH_TYPE_N_VDS
Type of switch associated with the interface. |
void |
setDevice(java.lang.String device)
Device name.
|
void |
setDpuBacked(java.lang.Boolean dpuBacked)
If interface is backed by data processing unit (DPU) and state of DPU is
MANAGED, then this property is true.
|
void |
setDpuId(java.lang.String dpuId)
Data processing unit ID if the interface is backed by a DPU.
|
void |
setDriver(java.lang.String driver)
Driver name.
|
void |
setEnsCapable(java.lang.Boolean ensCapable)
Interface capability for Enhanced Networking Stack
|
void |
setEnsEnabled(java.lang.Boolean ensEnabled)
Indicates whether interface is enabled for Enhanced Networking Stack
|
void |
setEnsInterruptCapable(java.lang.Boolean ensInterruptCapable)
This boolean property describes if network interface is capable for Enhanced
Networking Stack interrupt
|
void |
setEnsInterruptEnabled(java.lang.Boolean ensInterruptEnabled)
This boolean property describes if network interface is enabled for Enhanced
Networking Stack interrupt
|
void |
setHostManaged(java.lang.Boolean hostManaged)
Indicates whether interface is managed by the host
|
void |
setInterfaceAlias(java.util.List<NodeInterfaceAlias> interfaceAlias)
IP Alias
|
void |
setInterfaceId(java.lang.String interfaceId)
Interface ID
|
void |
setInterfaceType(java.lang.String interfaceType)
Possible values are:
INTERFACE_TYPE_PHYSICAL
INTERFACE_TYPE_VIRTUAL
INTERFACE_TYPE_BOND
INTERFACE_TYPE_TEAMING
Interface Type |
void |
setInterfaceUuid(java.lang.String interfaceUuid)
UUID of the interface
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setKey(java.lang.String key)
Device key.
|
void |
setLinkStatus(java.lang.String linkStatus)
Possible values are:
LINK_STATUS_UP LINK_STATUS_DOWN
Interface administration status |
void |
setLportAttachmentId(java.lang.String lportAttachmentId)
LPort Attachment Id assigned to VIRTUAL network interface of a node
|
void |
setMtu(java.lang.Long mtu)
Interface MTU format: int64
|
void |
setPci(java.lang.String pci)
PCI device.
|
void |
setSource(java.lang.String source)
Possible values are:
SOURCE_REALTIME SOURCE_CACHED Source of
status data |
void |
setSpeed(java.lang.Double speed)
Interface speed in Mbps.
|
void |
setState(java.lang.String state)
Possible values are:
STATE_INVALID_STATE
STATE_INIT STATE_NORMAL STATE_IP_WAITING STATE_BFD_DOWN STATE_MAINTENANCE This
property shows the current state of virtual tunnel end point (VTEP). |
java.lang.String |
toString() |
public static final java.lang.String ADMIN_STATUS_UP
public static final java.lang.String ADMIN_STATUS_DOWN
public static final java.lang.String CONNECTED_SWITCH_TYPE_VSS
public static final java.lang.String CONNECTED_SWITCH_TYPE_DVS
public static final java.lang.String CONNECTED_SWITCH_TYPE_N_VDS
public static final java.lang.String INTERFACE_TYPE_PHYSICAL
public static final java.lang.String INTERFACE_TYPE_VIRTUAL
public static final java.lang.String INTERFACE_TYPE_BOND
public static final java.lang.String INTERFACE_TYPE_TEAMING
public static final java.lang.String LINK_STATUS_UP
public static final java.lang.String LINK_STATUS_DOWN
public static final java.lang.String SOURCE_REALTIME
public static final java.lang.String SOURCE_CACHED
public static final java.lang.String STATE_INVALID_STATE
public static final java.lang.String STATE_INIT
public static final java.lang.String STATE_NORMAL
public static final java.lang.String STATE_IP_WAITING
public static final java.lang.String STATE_BFD_DOWN
public static final java.lang.String STATE_MAINTENANCE
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public NodeInterfaceProperties()
protected NodeInterfaceProperties(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getAdminStatus()
public void setAdminStatus(java.lang.String adminStatus)
adminStatus
- New value for the property.public java.lang.Boolean getBackingNsxManaged()
public void setBackingNsxManaged(java.lang.Boolean backingNsxManaged)
backingNsxManaged
- New value for the property.public java.lang.String getConnectedSwitch()
public void setConnectedSwitch(java.lang.String connectedSwitch)
connectedSwitch
- New value for the property.public java.lang.String getConnectedSwitchType()
public void setConnectedSwitchType(java.lang.String connectedSwitchType)
connectedSwitchType
- New value for the property.public java.lang.String getDevice()
public void setDevice(java.lang.String device)
device
- New value for the property.public java.lang.Boolean getDpuBacked()
public void setDpuBacked(java.lang.Boolean dpuBacked)
dpuBacked
- New value for the property.public java.lang.String getDpuId()
public void setDpuId(java.lang.String dpuId)
dpuId
- New value for the property.public java.lang.String getDriver()
public void setDriver(java.lang.String driver)
driver
- New value for the property.public java.lang.Boolean getEnsCapable()
public void setEnsCapable(java.lang.Boolean ensCapable)
ensCapable
- New value for the property.public java.lang.Boolean getEnsEnabled()
public void setEnsEnabled(java.lang.Boolean ensEnabled)
ensEnabled
- New value for the property.public java.lang.Boolean getEnsInterruptCapable()
public void setEnsInterruptCapable(java.lang.Boolean ensInterruptCapable)
ensInterruptCapable
- New value for the property.public java.lang.Boolean getEnsInterruptEnabled()
public void setEnsInterruptEnabled(java.lang.Boolean ensInterruptEnabled)
ensInterruptEnabled
- New value for the property.public java.lang.Boolean getHostManaged()
public void setHostManaged(java.lang.Boolean hostManaged)
hostManaged
- New value for the property.public java.util.List<NodeInterfaceAlias> getInterfaceAlias()
public void setInterfaceAlias(java.util.List<NodeInterfaceAlias> interfaceAlias)
interfaceAlias
- New value for the property.public java.lang.String getInterfaceId()
public void setInterfaceId(java.lang.String interfaceId)
interfaceId
- New value for the property.public java.lang.String getInterfaceType()
public void setInterfaceType(java.lang.String interfaceType)
interfaceType
- New value for the property.public java.lang.String getInterfaceUuid()
public void setInterfaceUuid(java.lang.String interfaceUuid)
interfaceUuid
- New value for the property.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- New value for the property.public java.lang.String getLinkStatus()
public void setLinkStatus(java.lang.String linkStatus)
linkStatus
- New value for the property.public java.lang.String getLportAttachmentId()
public void setLportAttachmentId(java.lang.String lportAttachmentId)
lportAttachmentId
- New value for the property.public java.lang.Long getMtu()
public void setMtu(java.lang.Long mtu)
mtu
- New value for the property.public java.lang.String getPci()
public void setPci(java.lang.String pci)
pci
- New value for the property.public java.lang.String getSource()
public void setSource(java.lang.String source)
source
- New value for the property.public java.lang.Double getSpeed()
public void setSpeed(java.lang.Double speed)
speed
- New value for the property.public java.lang.String getState()
public void setState(java.lang.String state)
state
- 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 NodeInterfaceProperties _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 NodeInterfaceProperties _newInstance2(com.vmware.vapi.data.StructValue structValue)