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 classFabricHostNode.BuilderBuilder class forFabricHostNode.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue__dynamicStructureFieldsstatic java.lang.StringMAINTENANCE_MODE_STATE_ENTERINGstatic java.lang.StringMAINTENANCE_MODE_STATE_OFFstatic java.lang.StringMAINTENANCE_MODE_STATE_ONstatic java.lang.StringOS_TYPE_CENTOSCONTAINERstatic java.lang.StringOS_TYPE_CENTOSKVMstatic java.lang.StringOS_TYPE_CENTOSSERVERstatic java.lang.StringOS_TYPE_ESXIstatic java.lang.StringOS_TYPE_HYPERVstatic java.lang.StringOS_TYPE_OELSERVERstatic java.lang.StringOS_TYPE_RHELCONTAINERstatic java.lang.StringOS_TYPE_RHELKVMstatic java.lang.StringOS_TYPE_RHELSERVERstatic java.lang.StringOS_TYPE_SLESKVMstatic java.lang.StringOS_TYPE_SLESSERVERstatic java.lang.StringOS_TYPE_UBUNTUKVMstatic java.lang.StringOS_TYPE_UBUNTUSERVERstatic java.lang.StringOS_TYPE_WINDOWSSERVER
-
Constructor Summary
Constructors Modifier Constructor Description FabricHostNode()Default constructor.protectedFabricHostNode(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()booleanequals(java.lang.Object obj)java.lang.StringgetComputeCollectionId()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.StringgetDiscoveredNodeId()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.StringgetFqdn()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.HostNodeLoginCredentialgetHostCredential()java.util.List<java.lang.String>getIpAddresses()IP Addresses of the Node, version 4 or 6.java.lang.StringgetMaintenanceModeState()Possible values are:MAINTENANCE_MODE_STATE_OFFMAINTENANCE_MODE_STATE_ENTERINGMAINTENANCE_MODE_STATE_ONIndicates host node's maintenance mode state.java.lang.StringgetManagedByServer()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.StringgetOsType()Possible values are:OS_TYPE_ESXIOS_TYPE_RHELKVMOS_TYPE_RHELSERVEROS_TYPE_WINDOWSSERVEROS_TYPE_RHELCONTAINEROS_TYPE_UBUNTUKVMOS_TYPE_UBUNTUSERVEROS_TYPE_HYPERVOS_TYPE_CENTOSKVMOS_TYPE_CENTOSSERVEROS_TYPE_CENTOSCONTAINEROS_TYPE_SLESKVMOS_TYPE_SLESSERVEROS_TYPE_OELSERVERHypervisor type, for example ESXi or RHEL KVMjava.lang.StringgetOsVersion()Version of the hypervisor operating systemjava.lang.StringgetWindowsInstallLocation()Specify an installation folder to install the NSX kernel modules for Windows Server.inthashCode()voidsetComputeCollectionId(java.lang.String computeCollectionId)Id of the compute collection to which discovered node belongs.voidsetDiscoveredIpAddresses(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.voidsetDiscoveredNodeId(java.lang.String discoveredNodeId)Id of discovered node which was converted to create this node.voidsetDpu(java.util.List<DpuInfo> dpu)Specifies details of data processing units (DPU) present on ESXi Host.voidsetFqdn(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.voidsetHostCredential(HostNodeLoginCredential hostCredential)voidsetIpAddresses(java.util.List<java.lang.String> ipAddresses)IP Addresses of the Node, version 4 or 6.voidsetMaintenanceModeState(java.lang.String maintenanceModeState)Possible values are:MAINTENANCE_MODE_STATE_OFFMAINTENANCE_MODE_STATE_ENTERINGMAINTENANCE_MODE_STATE_ONIndicates host node's maintenance mode state.voidsetManagedByServer(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.voidsetOsType(java.lang.String osType)Possible values are:OS_TYPE_ESXIOS_TYPE_RHELKVMOS_TYPE_RHELSERVEROS_TYPE_WINDOWSSERVEROS_TYPE_RHELCONTAINEROS_TYPE_UBUNTUKVMOS_TYPE_UBUNTUSERVEROS_TYPE_HYPERVOS_TYPE_CENTOSKVMOS_TYPE_CENTOSSERVEROS_TYPE_CENTOSCONTAINEROS_TYPE_SLESKVMOS_TYPE_SLESSERVEROS_TYPE_OELSERVERHypervisor type, for example ESXi or RHEL KVMvoidsetOsVersion(java.lang.String osVersion)Version of the hypervisor operating systemvoidsetWindowsInstallLocation(java.lang.String windowsInstallLocation)Specify an installation folder to install the NSX kernel modules for Windows Server.java.lang.StringtoString()
-
-
-
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:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin 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:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein 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.
-
-