Package com.vmware.nsx_policy.model
Class NodeStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NodeStatus.Builder
-
- Enclosing class:
- NodeStatus
public static final class NodeStatus.Builder extends java.lang.Object
Builder class forNodeStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNodeStatus
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNodeStatus
.
-
-
Method Detail
-
setExternalId
public NodeStatus.Builder setExternalId(java.lang.String externalId)
HostNode external id- Parameters:
externalId
- New value for the property.
-
setHostNodeDeploymentStatus
public NodeStatus.Builder setHostNodeDeploymentStatus(java.lang.String hostNodeDeploymentStatus)
Possible values are:-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_NOT_PREPARED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_INSTALL_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_INSTALL_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_INSTALL_SUCCESSFUL
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_INSTALL_SKIPPED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNINSTALL_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNINSTALL_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNINSTALL_SUCCESSFUL
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNINSTALL_SCHEDULED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNINSTALL_SKIPPED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UPGRADE_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UPGRADE_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_PENDING_UPGRADE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_NOT_AVAILABLE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_DEPLOYMENT_QUEUED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_DEPLOYMENT_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_DEPLOYMENT_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_POWER_ON_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_POWER_ON_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REGISTRATION_PENDING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_NODE_NOT_READY
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_NODE_READY
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_POWER_OFF_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_POWER_OFF_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_UNDEPLOY_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_UNDEPLOY_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_UNDEPLOY_SUCCESSFUL
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_EDGE_CONFIG_ERROR
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_DEPLOYMENT_RESTARTED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REGISTRATION_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_HOST_DISCONNECTED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_POWERED_OFF
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_TRANSPORT_NODE_SYNC_PENDING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_TRANSPORT_NODE_CONFIGURATION_MISSING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_EDGE_HARDWARE_NOT_SUPPORTED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_TZ_ENDPOINTS_NOT_SPECIFIED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_NO_PNIC_PREPARED_IN_EDGE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_APPLIANCE_INTERNAL_ERROR
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VTEP_DHCP_NOT_SUPPORTED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNSUPPORTED_HOST_SWITCH_PROFILE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_HOSTSWITCH_PROFILE_NOT_FOUND
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_LLDP_SEND_ENABLED_NOT_SUPPORTED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNSUPPORTED_NAMED_TEAMING_POLICY
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_MULTIPLE_UPLINKS_IN_NAMED_TEAMING_NOT_SUPPORTED_IF_UPLINK_IN_DEFAULT_TEAMING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_LACP_NOT_SUPPORTED_FOR_EDGE_VM
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_EDGE_NODE_VERSION_NOT_SUPPORTED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_NO_PNIC_SPECIFIED_IN_TN
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_INVALID_PNIC_DEVICE_NAME
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_TRANSPORT_NODE_READY
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNSUPPORTED_DEFAULT_TEAMING_POLICY
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_MPA_DISCONNECTED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_NETWORK_EDIT_PENDING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_RENAME_PENDING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_CONFIG_EDIT_PENDING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_NETWORK_EDIT_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_RENAME_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_CONFIG_EDIT_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_CONFIG_DISCREPANCY
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_NODE_REFRESH_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_PLACEMENT_REFRESH_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REGISTRATION_TIMEDOUT
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_LOGICAL_SWITCH_NAMED_TEAMING_HAS_NO_PNIC_BACKING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UPLINK_FROM_TEAMING_POLICY_NOT_MAPPED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REPLACE_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DELETE_VM_IN_REDEPLOY_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DEPLOY_VM_IN_REDEPLOY_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_INSUFFICIENT_RESOURCES_IN_EDGE_NODE_FOR_SERVICE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UNABLE_TO_DELETE_EDGE_NODE_VM_INTERNAL_ERROR
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_RETRYING_REPLACE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DUPLICATE_PNICS_IN_TEAMINGS_WITH_MULTIPLE_UPLINKS_AND_FAILOVER_ORDER
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DUPLICATE_VLANS_SHARING_SAME_PNIC
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DELETE_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DELETE_FAILED_FOR_DIFFERENT_MOREF_ID
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DELETE_FAILED_ON_VM_NOT_FOUND
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DELETE_FAILED_FOR_NON_LCM_EDGE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REDEPLOY_ACTIVITY_SCHEDULED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REPLACE_ACTIVITY_SCHEDULED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REDEPLOY_ACTIVITY_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REPLACE_ACTIVITY_IN_PROGRESS
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REDEPLOY_ACTIVITY_SUCCESSFUL
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REPLACE_ACTIVITY_SUCCESSFUL
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REDEPLOY_ACTIVITY_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_REDEPLOY_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REDEPLOYED_VM_REGISTRATION_PENDING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REPLACE_ACTIVITY_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_REPLACED_RPC_CLIENT_OF_TN
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_RESOURCE_RESERVATION_EDIT_PENDING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_RESOURCE_RESERVATION_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_ADVANCED_CONFIG_EDIT_PENDING
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_ADVANCED_CONFIG_EDIT_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_COMPUTE_MANAGER_NOT_FOUND
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_UPT_MODE_REALIZATION_POLL_TIMED_OUT
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DATAPATH_CONFIGURATION_EDIT_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_MAINTENANCE_MODE_ENABLED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_ERROR_IN_ENABLE_MAINTENANCE_MODE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_ERROR_IN_DISABLE_MAINTENANCE_MODE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_CONFIGURE_UPT_ON_VM_FAILED
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_VM_VERSION_IS_UPT_INCOMPATIBLE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_EDGE_NODE_SETTINGS_MISMATCH_RESOLVE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_EDGE_VM_VSPHERE_SETTINGS_MISMATCH_RESOLVE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_EDGE_NODE_SETTINGS_AND_VSPHERE_SETTINGS_ARE_CHANGED_RESOLVE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_EDGE_VSPHERE_LOCATION_MISMATCH_RESOLVE
-
NodeStatus.HOST_NODE_DEPLOYMENT_STATUS_DUPLICATE_VLANS_SHARING_SAME_PNICMULTIPLE_UPLINKS_IN_NAMED_TEAMING_NOT_SUPPORTED_IF_UPLINK_IN_DEFAULT_TEAMING
- Parameters:
hostNodeDeploymentStatus
- New value for the property.
-
-
setInventorySyncPaused
public NodeStatus.Builder setInventorySyncPaused(java.lang.Boolean inventorySyncPaused)
Is true if inventory sync is paused else false 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:
inventorySyncPaused
- New value for the property.
-
setInventorySyncReenableTime
public NodeStatus.Builder setInventorySyncReenableTime(java.lang.Long inventorySyncReenableTime)
Inventory sync auto re-enable target time, in epoch milis 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.- Parameters:
inventorySyncReenableTime
- New value for the property.
-
setLastHeartbeatTimestamp
public NodeStatus.Builder setLastHeartbeatTimestamp(java.lang.Long lastHeartbeatTimestamp)
Timestamp of the last heartbeat status change, in epoch milliseconds. 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.- Parameters:
lastHeartbeatTimestamp
- New value for the property.
-
setLastSyncTime
public NodeStatus.Builder setLastSyncTime(java.lang.Long lastSyncTime)
Timestamp of the last successful update of Inventory, in epoch milliseconds. 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.- Parameters:
lastSyncTime
- New value for the property.
-
setLcpConnectivityStatus
public NodeStatus.Builder setLcpConnectivityStatus(java.lang.String lcpConnectivityStatus)
Possible values are: Indicates the fabric node's LCP<->CCP channel connectivity status, UP, DOWN, DEGRADED, UNKNOWN. 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:
lcpConnectivityStatus
- New value for the property.
-
setLcpConnectivityStatusDetails
public NodeStatus.Builder setLcpConnectivityStatusDetails(java.util.List<ControlConnStatus> lcpConnectivityStatusDetails)
Details, if any, about the current LCP<->CCP channel connectivity status of the fabric 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:
lcpConnectivityStatusDetails
- New value for the property.
-
setMaintenanceMode
public NodeStatus.Builder setMaintenanceMode(java.lang.String maintenanceMode)
Possible values are: Indicates the fabric node's status of maintenance mode, OFF, ENTERING, ON, EXITING, ENABLED, DISABLED. 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:
maintenanceMode
- New value for the property.
-
setMpaConnectivityStatus
public NodeStatus.Builder setMpaConnectivityStatus(java.lang.String mpaConnectivityStatus)
Possible values are: Indicates the fabric node's MP<->MPA channel connectivity status, UP, DOWN, UNKNOWN. 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:
mpaConnectivityStatus
- New value for the property.
-
setMpaConnectivityStatusDetails
public NodeStatus.Builder setMpaConnectivityStatusDetails(java.lang.String mpaConnectivityStatusDetails)
Details, if any, about the current MP<->MPA channel connectivity status of the fabric 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:
mpaConnectivityStatusDetails
- New value for the property.
-
setSoftwareVersion
public NodeStatus.Builder setSoftwareVersion(java.lang.String softwareVersion)
Software version of the fabric 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:
softwareVersion
- New value for the property.
-
setSystemStatus
public NodeStatus.Builder setSystemStatus(NodeStatusProperties systemStatus)
- Parameters:
systemStatus
- New value for the property.
-
build
public NodeStatus build()
-
-