Package com.vmware.nsx_policy.model
Class TransportNodeState.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TransportNodeState.Builder
-
- Enclosing class:
- TransportNodeState
public static final class TransportNodeState.Builder extends java.lang.Object
Builder class forTransportNodeState
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTransportNodeState
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTransportNodeState
.
-
-
Method Detail
-
setDetails
public TransportNodeState.Builder setDetails(java.util.List<ConfigurationStateElement> details)
Array of configuration state of various sub systems 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:
details
- New value for the property.
-
setFailureCode
public TransportNodeState.Builder setFailureCode(java.lang.Long failureCode)
Error code 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:
failureCode
- New value for the property.
-
setFailureMessage
public TransportNodeState.Builder setFailureMessage(java.lang.String failureMessage)
Error message in case of failure 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:
failureMessage
- New value for the property.
-
setState
public TransportNodeState.Builder setState(java.lang.String state)
Possible values are:-
TransportNodeState.STATE_PENDING
-
TransportNodeState.STATE_IN_PROGRESS
-
TransportNodeState.STATE_SUCCESS
-
TransportNodeState.STATE_FAILED
-
TransportNodeState.STATE_PARTIAL_SUCCESS
-
TransportNodeState.STATE_ORPHANED
-
TransportNodeState.STATE_UNKNOWN
-
TransportNodeState.STATE_ERROR
-
TransportNodeState.STATE_IN_SYNC
-
TransportNodeState.STATE_NOT_AVAILABLE
-
TransportNodeState.STATE_VM_DEPLOYMENT_QUEUED
-
TransportNodeState.STATE_VM_DEPLOYMENT_IN_PROGRESS
-
TransportNodeState.STATE_VM_DEPLOYMENT_FAILED
-
TransportNodeState.STATE_VM_POWER_ON_IN_PROGRESS
-
TransportNodeState.STATE_VM_POWER_ON_FAILED
-
TransportNodeState.STATE_REGISTRATION_PENDING
-
TransportNodeState.STATE_NODE_NOT_READY
-
TransportNodeState.STATE_NODE_READY
-
TransportNodeState.STATE_VM_POWER_OFF_IN_PROGRESS
-
TransportNodeState.STATE_VM_POWER_OFF_FAILED
-
TransportNodeState.STATE_VM_UNDEPLOY_IN_PROGRESS
-
TransportNodeState.STATE_VM_UNDEPLOY_FAILED
-
TransportNodeState.STATE_VM_UNDEPLOY_SUCCESSFUL
-
TransportNodeState.STATE_EDGE_CONFIG_ERROR
-
TransportNodeState.STATE_VM_DEPLOYMENT_RESTARTED
-
TransportNodeState.STATE_REGISTRATION_FAILED
-
TransportNodeState.STATE_TRANSPORT_NODE_SYNC_PENDING
-
TransportNodeState.STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
-
TransportNodeState.STATE_EDGE_HARDWARE_NOT_SUPPORTED
-
TransportNodeState.STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
-
TransportNodeState.STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
-
TransportNodeState.STATE_TZ_ENDPOINTS_NOT_SPECIFIED
-
TransportNodeState.STATE_NO_PNIC_PREPARED_IN_EDGE
-
TransportNodeState.STATE_APPLIANCE_INTERNAL_ERROR
-
TransportNodeState.STATE_VTEP_DHCP_NOT_SUPPORTED
-
TransportNodeState.STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
-
TransportNodeState.STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
-
TransportNodeState.STATE_HOSTSWITCH_PROFILE_NOT_FOUND
-
TransportNodeState.STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
-
TransportNodeState.STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
-
TransportNodeState.STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
-
TransportNodeState.STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
-
TransportNodeState.STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
-
TransportNodeState.STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
-
TransportNodeState.STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
-
TransportNodeState.STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
-
TransportNodeState.STATE_NO_PNIC_SPECIFIED_IN_TN
-
TransportNodeState.STATE_INVALID_PNIC_DEVICE_NAME
-
TransportNodeState.STATE_TRANSPORT_NODE_READY
-
TransportNodeState.STATE_VM_NETWORK_EDIT_PENDING
-
TransportNodeState.STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
-
TransportNodeState.STATE_MPA_DISCONNECTED
-
TransportNodeState.STATE_VM_RENAME_PENDING
-
TransportNodeState.STATE_VM_CONFIG_EDIT_PENDING
-
TransportNodeState.STATE_VM_NETWORK_EDIT_FAILED
-
TransportNodeState.STATE_VM_RENAME_FAILED
-
TransportNodeState.STATE_VM_CONFIG_EDIT_FAILED
-
TransportNodeState.STATE_VM_CONFIG_DISCREPANCY
-
TransportNodeState.STATE_VM_NODE_REFRESH_FAILED
-
TransportNodeState.STATE_VM_PLACEMENT_REFRESH_FAILED
-
TransportNodeState.STATE_REGISTRATION_TIMEDOUT
-
TransportNodeState.STATE_REPLACE_FAILED
-
TransportNodeState.STATE_UPLINK_FROM_TEAMING_POLICY_NOT_MAPPED
-
TransportNodeState.STATE_LOGICAL_SWITCH_NAMED_TEAMING_HAS_NO_PNIC_BACKING
-
TransportNodeState.STATE_DELETE_VM_IN_REDEPLOY_FAILED
-
TransportNodeState.STATE_DEPLOY_VM_IN_REDEPLOY_FAILED
-
TransportNodeState.STATE_INSUFFICIENT_RESOURCES_IN_EDGE_NODE_FOR_SERVICE
-
TransportNodeState.STATE_VM_RESOURCE_RESERVATION_FAILED
-
TransportNodeState.STATE_DUPLICATE_PNICS_IN_TEAMINGS_WITH_MULTIPLE_UPLINKS_AND_FAILOVER_ORDER
-
TransportNodeState.STATE_DUPLICATE_VLANS_SHARING_SAME_PNICMULTIPLE_UPLINKS_IN_NAMED_TEAMING_NOT_SUPPORTED_IF_UPLINK_IN_DEFAULT_TEAMING
-
TransportNodeState.STATE_EDGE_NODE_SETTINGS_MISMATCH_RESOLVE
-
TransportNodeState.STATE_EDGE_VM_VSPHERE_SETTINGS_MISMATCH_RESOLVE
-
TransportNodeState.STATE_EDGE_NODE_SETTINGS_AND_VSPHERE_SETTINGS_ARE_CHANGED_RESOLVE
-
TransportNodeState.STATE_EDGE_VSPHERE_LOCATION_MISMATCH_RESOLVE
-
TransportNodeState.STATE_COMPUTE_MANAGER_NOT_FOUND
-
TransportNodeState.STATE_DELETE_IN_PROGRESS
-
TransportNodeState.STATE_ADVANCED_CONFIG_EDIT_FAILED
-
TransportNodeState.STATE_UPT_MODE_REALIZATION_POLL_TIMED_OUT
-
TransportNodeState.STATE_DATAPATH_CONFIGURATION_EDIT_FAILED
-
TransportNodeState.STATE_MAINTENANCE_MODE_ENABLED
-
TransportNodeState.STATE_ERROR_IN_ENABLE_MAINTENANCE_MODE
-
TransportNodeState.STATE_ERROR_IN_DISABLE_MAINTENANCE_MODE
-
TransportNodeState.STATE_CONFIGURE_UPT_ON_VM_FAILED
-
TransportNodeState.STATE_VM_VERSION_IS_UPT_INCOMPATIBLE
-
TransportNodeState.STATE_DELETE_FAILED_FOR_DIFFERENT_MOREF_ID
-
TransportNodeState.STATE_DELETE_FAILED_ON_VM_NOT_FOUND
-
TransportNodeState.STATE_DELETE_FAILED_FOR_NON_LCM_EDGE
-
TransportNodeState.STATE_ADVANCED_CONFIG_EDIT_PENDING
-
TransportNodeState.STATE_DUPLICATE_VLANS_SHARING_SAME_PNIC
-
TransportNodeState.STATE_MULTIPLE_UPLINKS_IN_NAMED_TEAMING_NOT_SUPPORTED_IF_UPLINK_IN_DEFAULT_TEAMING
-
TransportNodeState.STATE_REDEPLOY_ACTIVITY_FAILED
-
TransportNodeState.STATE_REDEPLOY_ACTIVITY_IN_PROGRESS
-
TransportNodeState.STATE_REDEPLOY_ACTIVITY_SCHEDULED
-
TransportNodeState.STATE_REDEPLOY_ACTIVITY_SUCCESSFUL
-
TransportNodeState.STATE_REPLACE_ACTIVITY_FAILED
-
TransportNodeState.STATE_REPLACE_ACTIVITY_IN_PROGRESS
-
TransportNodeState.STATE_REPLACE_ACTIVITY_SCHEDULED
-
TransportNodeState.STATE_REPLACE_ACTIVITY_SUCCESSFUL
-
TransportNodeState.STATE_REPLACED_RPC_CLIENT_OF_TN
-
TransportNodeState.STATE_RETRYING_REPLACE
-
TransportNodeState.STATE_UNABLE_TO_DELETE_EDGE_NODE_VM_INTERNAL_ERROR
-
TransportNodeState.STATE_VM_REDEPLOY_FAILED
-
TransportNodeState.STATE_VM_RESOURCE_RESERVATION_EDIT_PENDING
-
TransportNodeState.STATE_REDEPLOYED_VM_REGISTRATION_PENDING
- Parameters:
state
- New value for the property.
-
-
setDeploymentProgressState
public TransportNodeState.Builder setDeploymentProgressState(TransportNodeDeploymentProgressState deploymentProgressState)
- Parameters:
deploymentProgressState
- New value for the property.
-
setHardwareVersion
public TransportNodeState.Builder setHardwareVersion(java.lang.String hardwareVersion)
Hardware version of the edge fabric node virtual machine. 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:
hardwareVersion
- New value for the property.
-
setHostSwitchStates
public TransportNodeState.Builder setHostSwitchStates(java.util.List<HostSwitchState> hostSwitchStates)
States of HostSwitches on the 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:
hostSwitchStates
- New value for the property.
-
setMaintenanceModeState
public TransportNodeState.Builder setMaintenanceModeState(java.lang.String maintenanceModeState)
Possible values are: the present realized maintenance mode state 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.
-
setNodeDeploymentState
public TransportNodeState.Builder setNodeDeploymentState(ConfigurationState nodeDeploymentState)
- Parameters:
nodeDeploymentState
- New value for the property.
-
setPendingUserActions
public TransportNodeState.Builder setPendingUserActions(java.util.List<java.lang.String> pendingUserActions)
These are actions which user needs to perform to complete the transport node realization. One action is PENDING_HOST_MAINTENANCE_MODE which informs user to move the host into maintenance mode from VC side to complete the transport node realization. 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:
pendingUserActions
- New value for the property.
-
setRemoteTunnelEndpointState
public TransportNodeState.Builder setRemoteTunnelEndpointState(RemoteTunnelEndpointConfigState remoteTunnelEndpointState)
- Parameters:
remoteTunnelEndpointState
- New value for the property.
-
setTransportNodeId
public TransportNodeState.Builder setTransportNodeId(java.lang.String transportNodeId)
Unique Id of the TransportNode 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:
transportNodeId
- New value for the property.
-
build
public TransportNodeState build()
-
-