public final class NodeNetworkInterfaceProperties
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
NodeNetworkInterfaceProperties.Builder
Builder class for
NodeNetworkInterfaceProperties . |
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 |
BOND_MODE_802_3AD |
static java.lang.String |
BOND_MODE_ACTIVE_BACKUP |
static java.lang.String |
BOND_MODE_ALB |
static java.lang.String |
BOND_MODE_BROADCAST |
static java.lang.String |
BOND_MODE_ROUND_ROBIN |
static java.lang.String |
BOND_MODE_TLB |
static java.lang.String |
BOND_MODE_XOR |
static java.lang.String |
BOND_XMIT_HASH_POLICY_ENCAP2_3 |
static java.lang.String |
BOND_XMIT_HASH_POLICY_ENCAP3_4 |
static java.lang.String |
BOND_XMIT_HASH_POLICY_LAYER2 |
static java.lang.String |
BOND_XMIT_HASH_POLICY_LAYER2_3 |
static java.lang.String |
BOND_XMIT_HASH_POLICY_LAYER3_4 |
static java.lang.String |
IP_CONFIGURATION_DHCP |
static java.lang.String |
IP_CONFIGURATION_NOT_CONFIGURED |
static java.lang.String |
IP_CONFIGURATION_STATIC |
static java.lang.String |
LINK_STATUS_DOWN |
static java.lang.String |
LINK_STATUS_UP |
static java.lang.String |
PLANE_DEBUG |
static java.lang.String |
PLANE_MGMT |
static java.lang.String |
PLANE_NONE |
Modifier | Constructor and Description |
---|---|
|
NodeNetworkInterfaceProperties()
Default constructor.
|
protected |
NodeNetworkInterfaceProperties(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 NodeNetworkInterfaceProperties |
_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 NodeNetworkInterfaceProperties |
_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
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 |
getBondCurActiveSlave()
Bond's currently active slave device
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 |
getBondLacpRate()
Bond's rate at which we'll ask our link partner to transmit LACPDU packets in
802.3ad mode
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 |
getBondMode()
Possible values are:
BOND_MODE_ACTIVE_BACKUP
BOND_MODE_802_3AD
BOND_MODE_ROUND_ROBIN
BOND_MODE_BROADCAST
BOND_MODE_XOR
BOND_MODE_TLB
BOND_MODE_ALB
Bond mode |
java.lang.String |
getBondPrimary()
Bond's primary device name in active-backup bond mode
|
java.lang.String |
getBondPrimarySlave()
Bond's primary device name in active-backup bond mode
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.util.List<java.lang.String> |
getBondSlaves()
Bond's slave devices
|
java.lang.String |
getBondXmitHashPolicy()
Possible values are:
BOND_XMIT_HASH_POLICY_LAYER2
BOND_XMIT_HASH_POLICY_LAYER2_3
BOND_XMIT_HASH_POLICY_LAYER3_4
BOND_XMIT_HASH_POLICY_ENCAP2_3
BOND_XMIT_HASH_POLICY_ENCAP3_4
Bond's transmit hash policy for balance-xor and 802.3ad modes
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 |
getBroadcastAddress()
Interface broadcast address
|
java.lang.String |
getDefaultGateway()
Interface's default gateway
|
java.lang.String |
getInterfaceId()
Interface ID
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.util.List<IPv6AddressProperties> |
getIp6Addresses()
Interface IPv6 addresses
|
java.util.List<IPv4AddressProperties> |
getIpAddresses()
Interface IP addresses
|
java.lang.String |
getIpConfiguration()
Possible values are:
IP_CONFIGURATION_DHCP
IP_CONFIGURATION_STATIC
IP_CONFIGURATION_NOT_CONFIGURED
Interface configuration |
java.lang.Boolean |
getIsKni()
Interface is a KNI
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.util.List<ResourceLink> |
getLinks()
The server will populate this field when returing the resource.
|
java.lang.String |
getLinkStatus()
Possible values are:
LINK_STATUS_UP
LINK_STATUS_DOWN
Interface administration status
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.Long |
getMtu()
Interface MTU format: int64
|
java.lang.String |
getPhysicalAddress()
Interface MAC address
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 |
getPlane()
|
java.lang.String |
getSchema()
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SelfResourceLink |
getSelf() |
java.lang.Long |
getVlan()
VLAN Id format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
int |
hashCode() |
void |
setAdminStatus(java.lang.String adminStatus)
Possible values are:
ADMIN_STATUS_UP
ADMIN_STATUS_DOWN
Interface administration status
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 |
setBondCurActiveSlave(java.lang.String bondCurActiveSlave)
Bond's currently active slave device
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 |
setBondLacpRate(java.lang.String bondLacpRate)
Bond's rate at which we'll ask our link partner to transmit LACPDU packets in
802.3ad mode
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 |
setBondMode(java.lang.String bondMode)
Possible values are:
BOND_MODE_ACTIVE_BACKUP
BOND_MODE_802_3AD
BOND_MODE_ROUND_ROBIN
BOND_MODE_BROADCAST
BOND_MODE_XOR
BOND_MODE_TLB
BOND_MODE_ALB
Bond mode |
void |
setBondPrimary(java.lang.String bondPrimary)
Bond's primary device name in active-backup bond mode
|
void |
setBondPrimarySlave(java.lang.String bondPrimarySlave)
Bond's primary device name in active-backup bond mode
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 |
setBondSlaves(java.util.List<java.lang.String> bondSlaves)
Bond's slave devices
|
void |
setBondXmitHashPolicy(java.lang.String bondXmitHashPolicy)
Possible values are:
BOND_XMIT_HASH_POLICY_LAYER2
BOND_XMIT_HASH_POLICY_LAYER2_3
BOND_XMIT_HASH_POLICY_LAYER3_4
BOND_XMIT_HASH_POLICY_ENCAP2_3
BOND_XMIT_HASH_POLICY_ENCAP3_4
Bond's transmit hash policy for balance-xor and 802.3ad modes
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 |
setBroadcastAddress(java.lang.String broadcastAddress)
Interface broadcast address
|
void |
setDefaultGateway(java.lang.String defaultGateway)
Interface's default gateway
|
void |
setInterfaceId(java.lang.String interfaceId)
Interface ID
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 |
setIp6Addresses(java.util.List<IPv6AddressProperties> ip6Addresses)
Interface IPv6 addresses
|
void |
setIpAddresses(java.util.List<IPv4AddressProperties> ipAddresses)
Interface IP addresses
|
void |
setIpConfiguration(java.lang.String ipConfiguration)
Possible values are:
IP_CONFIGURATION_DHCP
IP_CONFIGURATION_STATIC
IP_CONFIGURATION_NOT_CONFIGURED
Interface configuration |
void |
setIsKni(java.lang.Boolean isKni)
Interface is a KNI
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 |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
void |
setLinkStatus(java.lang.String linkStatus)
Possible values are:
LINK_STATUS_UP
LINK_STATUS_DOWN
Interface administration status
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 |
setMtu(java.lang.Long mtu)
Interface MTU format: int64
|
void |
setPhysicalAddress(java.lang.String physicalAddress)
Interface MAC address
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 |
setPlane(java.lang.String plane)
|
void |
setSchema(java.lang.String schema)
Schema for this resource
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 |
setSelf(SelfResourceLink self) |
void |
setVlan(java.lang.Long vlan)
VLAN Id format: int64
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 |
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 BOND_MODE_ACTIVE_BACKUP
public static final java.lang.String BOND_MODE_802_3AD
public static final java.lang.String BOND_MODE_ROUND_ROBIN
public static final java.lang.String BOND_MODE_BROADCAST
public static final java.lang.String BOND_MODE_XOR
public static final java.lang.String BOND_MODE_TLB
public static final java.lang.String BOND_MODE_ALB
public static final java.lang.String BOND_XMIT_HASH_POLICY_LAYER2
public static final java.lang.String BOND_XMIT_HASH_POLICY_LAYER2_3
public static final java.lang.String BOND_XMIT_HASH_POLICY_LAYER3_4
public static final java.lang.String BOND_XMIT_HASH_POLICY_ENCAP2_3
public static final java.lang.String BOND_XMIT_HASH_POLICY_ENCAP3_4
public static final java.lang.String IP_CONFIGURATION_DHCP
public static final java.lang.String IP_CONFIGURATION_STATIC
public static final java.lang.String IP_CONFIGURATION_NOT_CONFIGURED
public static final java.lang.String LINK_STATUS_UP
public static final java.lang.String LINK_STATUS_DOWN
public static final java.lang.String PLANE_MGMT
public static final java.lang.String PLANE_DEBUG
public static final java.lang.String PLANE_NONE
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public NodeNetworkInterfaceProperties()
protected NodeNetworkInterfaceProperties(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<ResourceLink> getLinks()
public void setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public java.lang.String getSchema()
public void setSchema(java.lang.String schema)
schema
- New value for the property.public SelfResourceLink getSelf()
public void setSelf(SelfResourceLink self)
self
- New value for the property.public java.lang.String getAdminStatus()
public void setAdminStatus(java.lang.String adminStatus)
adminStatus
- New value for the property.public java.lang.String getBondCurActiveSlave()
public void setBondCurActiveSlave(java.lang.String bondCurActiveSlave)
bondCurActiveSlave
- New value for the property.public java.lang.String getBondLacpRate()
public void setBondLacpRate(java.lang.String bondLacpRate)
bondLacpRate
- New value for the property.public java.lang.String getBondMode()
public void setBondMode(java.lang.String bondMode)
bondMode
- New value for the property.public java.lang.String getBondPrimary()
public void setBondPrimary(java.lang.String bondPrimary)
bondPrimary
- New value for the property.public java.lang.String getBondPrimarySlave()
public void setBondPrimarySlave(java.lang.String bondPrimarySlave)
bondPrimarySlave
- New value for the property.public java.util.List<java.lang.String> getBondSlaves()
public void setBondSlaves(java.util.List<java.lang.String> bondSlaves)
bondSlaves
- New value for the property.public java.lang.String getBondXmitHashPolicy()
public void setBondXmitHashPolicy(java.lang.String bondXmitHashPolicy)
bondXmitHashPolicy
- New value for the property.public java.lang.String getBroadcastAddress()
public void setBroadcastAddress(java.lang.String broadcastAddress)
broadcastAddress
- New value for the property.public java.lang.String getDefaultGateway()
public void setDefaultGateway(java.lang.String defaultGateway)
defaultGateway
- 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.util.List<IPv6AddressProperties> getIp6Addresses()
public void setIp6Addresses(java.util.List<IPv6AddressProperties> ip6Addresses)
ip6Addresses
- New value for the property.public java.util.List<IPv4AddressProperties> getIpAddresses()
public void setIpAddresses(java.util.List<IPv4AddressProperties> ipAddresses)
ipAddresses
- New value for the property.public java.lang.String getIpConfiguration()
public void setIpConfiguration(java.lang.String ipConfiguration)
ipConfiguration
- New value for the property.public java.lang.Boolean getIsKni()
public void setIsKni(java.lang.Boolean isKni)
isKni
- 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.Long getMtu()
public void setMtu(java.lang.Long mtu)
mtu
- New value for the property.public java.lang.String getPhysicalAddress()
public void setPhysicalAddress(java.lang.String physicalAddress)
physicalAddress
- New value for the property.public java.lang.String getPlane()
public void setPlane(java.lang.String plane)
plane
- New value for the property.public java.lang.Long getVlan()
public void setVlan(java.lang.Long vlan)
vlan
- 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 NodeNetworkInterfaceProperties _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 NodeNetworkInterfaceProperties _newInstance2(com.vmware.vapi.data.StructValue structValue)