Package com.vmware.nsx_policy.model
Class FabricHostNode
- java.lang.Object
-
- com.vmware.nsx_policy.model.FabricHostNode
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class FabricHostNode extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FabricHostNode.Builder
Builder class forFabricHostNode
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
static java.lang.String
MAINTENANCE_MODE_STATE_ENTERING
static java.lang.String
MAINTENANCE_MODE_STATE_OFF
static java.lang.String
MAINTENANCE_MODE_STATE_ON
static java.lang.String
OS_TYPE_CENTOSCONTAINER
static java.lang.String
OS_TYPE_CENTOSKVM
static java.lang.String
OS_TYPE_CENTOSSERVER
static java.lang.String
OS_TYPE_ESXI
static java.lang.String
OS_TYPE_HYPERV
static java.lang.String
OS_TYPE_OELSERVER
static java.lang.String
OS_TYPE_RHELCONTAINER
static java.lang.String
OS_TYPE_RHELKVM
static java.lang.String
OS_TYPE_RHELSERVER
static java.lang.String
OS_TYPE_SLESKVM
static java.lang.String
OS_TYPE_SLESSERVER
static java.lang.String
OS_TYPE_UBUNTUKVM
static java.lang.String
OS_TYPE_UBUNTUSERVER
static java.lang.String
OS_TYPE_WINDOWSSERVER
-
Constructor Summary
Constructors Modifier Constructor Description FabricHostNode()
Default constructor.protected
FabricHostNode(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_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 FabricHostNode
_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 FabricHostNode
_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
getComputeCollectionId()
Id of the compute collection to which discovered node belongs.java.util.List<java.lang.String>
getDiscoveredIpAddresses()
Discovered IP Addresses of the transport node, version 4 or 6 format: ip 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
getDiscoveredNodeId()
Id of discovered node which was converted to create this node.java.util.List<DpuInfo>
getDpu()
Specifies details of data processing units (DPU) present on ESXi Host.java.lang.String
getFqdn()
Fully qualified domain name of the transport node This property may be present in responses from the server, but if it is present in a request to server it will be ignored.HostNodeLoginCredential
getHostCredential()
java.util.List<java.lang.String>
getIpAddresses()
IP Addresses of the Node, version 4 or 6.java.lang.String
getMaintenanceModeState()
Possible values are:MAINTENANCE_MODE_STATE_OFF
MAINTENANCE_MODE_STATE_ENTERING
MAINTENANCE_MODE_STATE_ON
Indicates host node's maintenance mode state.java.lang.String
getManagedByServer()
The id of the vCenter server managing the ESXi type HostNode 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
getOsType()
Possible values are:OS_TYPE_ESXI
OS_TYPE_RHELKVM
OS_TYPE_RHELSERVER
OS_TYPE_WINDOWSSERVER
OS_TYPE_RHELCONTAINER
OS_TYPE_UBUNTUKVM
OS_TYPE_UBUNTUSERVER
OS_TYPE_HYPERV
OS_TYPE_CENTOSKVM
OS_TYPE_CENTOSSERVER
OS_TYPE_CENTOSCONTAINER
OS_TYPE_SLESKVM
OS_TYPE_SLESSERVER
OS_TYPE_OELSERVER
Hypervisor type, for example ESXi or RHEL KVMjava.lang.String
getOsVersion()
Version of the hypervisor operating systemjava.lang.String
getWindowsInstallLocation()
Specify an installation folder to install the NSX kernel modules for Windows Server.int
hashCode()
void
setComputeCollectionId(java.lang.String computeCollectionId)
Id of the compute collection to which discovered node belongs.void
setDiscoveredIpAddresses(java.util.List<java.lang.String> discoveredIpAddresses)
Discovered IP Addresses of the transport node, version 4 or 6 format: ip 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
setDiscoveredNodeId(java.lang.String discoveredNodeId)
Id of discovered node which was converted to create this node.void
setDpu(java.util.List<DpuInfo> dpu)
Specifies details of data processing units (DPU) present on ESXi Host.void
setFqdn(java.lang.String fqdn)
Fully qualified domain name of the transport node 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
setHostCredential(HostNodeLoginCredential hostCredential)
void
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IP Addresses of the Node, version 4 or 6.void
setMaintenanceModeState(java.lang.String maintenanceModeState)
Possible values are:MAINTENANCE_MODE_STATE_OFF
MAINTENANCE_MODE_STATE_ENTERING
MAINTENANCE_MODE_STATE_ON
Indicates host node's maintenance mode state.void
setManagedByServer(java.lang.String managedByServer)
The id of the vCenter server managing the ESXi type HostNode 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
setOsType(java.lang.String osType)
Possible values are:OS_TYPE_ESXI
OS_TYPE_RHELKVM
OS_TYPE_RHELSERVER
OS_TYPE_WINDOWSSERVER
OS_TYPE_RHELCONTAINER
OS_TYPE_UBUNTUKVM
OS_TYPE_UBUNTUSERVER
OS_TYPE_HYPERV
OS_TYPE_CENTOSKVM
OS_TYPE_CENTOSSERVER
OS_TYPE_CENTOSCONTAINER
OS_TYPE_SLESKVM
OS_TYPE_SLESSERVER
OS_TYPE_OELSERVER
Hypervisor type, for example ESXi or RHEL KVMvoid
setOsVersion(java.lang.String osVersion)
Version of the hypervisor operating systemvoid
setWindowsInstallLocation(java.lang.String windowsInstallLocation)
Specify an installation folder to install the NSX kernel modules for Windows Server.java.lang.String
toString()
-
-
-
Field Detail
-
MAINTENANCE_MODE_STATE_OFF
public static final java.lang.String MAINTENANCE_MODE_STATE_OFF
- See Also:
- Constant Field Values
-
MAINTENANCE_MODE_STATE_ENTERING
public static final java.lang.String MAINTENANCE_MODE_STATE_ENTERING
- See Also:
- Constant Field Values
-
MAINTENANCE_MODE_STATE_ON
public static final java.lang.String MAINTENANCE_MODE_STATE_ON
- See Also:
- Constant Field Values
-
OS_TYPE_ESXI
public static final java.lang.String OS_TYPE_ESXI
- See Also:
- Constant Field Values
-
OS_TYPE_RHELKVM
public static final java.lang.String OS_TYPE_RHELKVM
- See Also:
- Constant Field Values
-
OS_TYPE_RHELSERVER
public static final java.lang.String OS_TYPE_RHELSERVER
- See Also:
- Constant Field Values
-
OS_TYPE_WINDOWSSERVER
public static final java.lang.String OS_TYPE_WINDOWSSERVER
- See Also:
- Constant Field Values
-
OS_TYPE_RHELCONTAINER
public static final java.lang.String OS_TYPE_RHELCONTAINER
- See Also:
- Constant Field Values
-
OS_TYPE_UBUNTUKVM
public static final java.lang.String OS_TYPE_UBUNTUKVM
- See Also:
- Constant Field Values
-
OS_TYPE_UBUNTUSERVER
public static final java.lang.String OS_TYPE_UBUNTUSERVER
- See Also:
- Constant Field Values
-
OS_TYPE_HYPERV
public static final java.lang.String OS_TYPE_HYPERV
- See Also:
- Constant Field Values
-
OS_TYPE_CENTOSKVM
public static final java.lang.String OS_TYPE_CENTOSKVM
- See Also:
- Constant Field Values
-
OS_TYPE_CENTOSSERVER
public static final java.lang.String OS_TYPE_CENTOSSERVER
- See Also:
- Constant Field Values
-
OS_TYPE_CENTOSCONTAINER
public static final java.lang.String OS_TYPE_CENTOSCONTAINER
- See Also:
- Constant Field Values
-
OS_TYPE_SLESKVM
public static final java.lang.String OS_TYPE_SLESKVM
- See Also:
- Constant Field Values
-
OS_TYPE_SLESSERVER
public static final java.lang.String OS_TYPE_SLESSERVER
- See Also:
- Constant Field Values
-
OS_TYPE_OELSERVER
public static final java.lang.String OS_TYPE_OELSERVER
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Method Detail
-
getComputeCollectionId
public java.lang.String getComputeCollectionId()
Id of the compute collection to which discovered node belongs. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setComputeCollectionId
public void setComputeCollectionId(java.lang.String computeCollectionId)
Id of the compute collection to which discovered node belongs. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
computeCollectionId
- New value for the property.
-
getDiscoveredIpAddresses
public java.util.List<java.lang.String> getDiscoveredIpAddresses()
Discovered IP Addresses of the transport node, version 4 or 6 format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setDiscoveredIpAddresses
public void setDiscoveredIpAddresses(java.util.List<java.lang.String> discoveredIpAddresses)
Discovered IP Addresses of the transport node, version 4 or 6 format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
discoveredIpAddresses
- New value for the property.
-
getDiscoveredNodeId
public java.lang.String getDiscoveredNodeId()
Id of discovered node which was converted to create this node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setDiscoveredNodeId
public void setDiscoveredNodeId(java.lang.String discoveredNodeId)
Id of discovered node which was converted to create this node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
discoveredNodeId
- New value for the property.
-
getDpu
public java.util.List<DpuInfo> getDpu()
Specifies details of data processing units (DPU) present on ESXi Host. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setDpu
public void setDpu(java.util.List<DpuInfo> dpu)
Specifies details of data processing units (DPU) present on ESXi Host. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
dpu
- New value for the property.
-
getFqdn
public java.lang.String getFqdn()
Fully qualified domain name of the transport node This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setFqdn
public void setFqdn(java.lang.String fqdn)
Fully qualified domain name of the transport node This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
fqdn
- New value for the property.
-
getHostCredential
public HostNodeLoginCredential getHostCredential()
- Returns:
- The current value of the property.
-
setHostCredential
public void setHostCredential(HostNodeLoginCredential hostCredential)
- Parameters:
hostCredential
- New value for the property.
-
getIpAddresses
public java.util.List<java.lang.String> getIpAddresses()
IP Addresses of the Node, version 4 or 6. format: ip- Returns:
- The current value of the property.
-
setIpAddresses
public void setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IP Addresses of the Node, version 4 or 6. format: ip- Parameters:
ipAddresses
- New value for the property.
-
getMaintenanceModeState
public java.lang.String getMaintenanceModeState()
Possible values are: Indicates host node's maintenance mode state. The state is ENTERING when a task to put the host in maintenance-mode is in progress. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setMaintenanceModeState
public void setMaintenanceModeState(java.lang.String maintenanceModeState)
Possible values are: Indicates host node's maintenance mode state. The state is ENTERING when a task to put the host in maintenance-mode is in progress. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
maintenanceModeState
- New value for the property.
-
getManagedByServer
public java.lang.String getManagedByServer()
The id of the vCenter server managing the ESXi type HostNode This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setManagedByServer
public void setManagedByServer(java.lang.String managedByServer)
The id of the vCenter server managing the ESXi type HostNode This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
managedByServer
- New value for the property.
-
getOsType
public java.lang.String getOsType()
Possible values are: Hypervisor type, for example ESXi or RHEL KVM- Returns:
- The current value of the property.
-
setOsType
public void setOsType(java.lang.String osType)
Possible values are: Hypervisor type, for example ESXi or RHEL KVM- Parameters:
osType
- New value for the property.
-
getOsVersion
public java.lang.String getOsVersion()
Version of the hypervisor operating system- Returns:
- The current value of the property.
-
setOsVersion
public void setOsVersion(java.lang.String osVersion)
Version of the hypervisor operating system- Parameters:
osVersion
- New value for the property.
-
getWindowsInstallLocation
public java.lang.String getWindowsInstallLocation()
Specify an installation folder to install the NSX kernel modules for Windows Server. By default, it is C:\\Program Files\\VMware\\NSX\\.- Returns:
- The current value of the property.
-
setWindowsInstallLocation
public void setWindowsInstallLocation(java.lang.String windowsInstallLocation)
Specify an installation folder to install the NSX kernel modules for Windows Server. By default, it is C:\\Program Files\\VMware\\NSX\\.- Parameters:
windowsInstallLocation
- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static FabricHostNode _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.- Parameters:
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.- Returns:
- the static bindings
StructType
-
_newInstance2
public static FabricHostNode _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-