Package com.vmware.nsx_policy.model
Class MpsTransportNodeStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MpsTransportNodeStatus.Builder
-
- Enclosing class:
- MpsTransportNodeStatus
public static final class MpsTransportNodeStatus.Builder extends java.lang.ObjectBuilder class forMpsTransportNodeStatus.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofMpsTransportNodeStatus.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMpsTransportNodeStatus.
-
-
Method Detail
-
setSubClusterId
public MpsTransportNodeStatus.Builder setSubClusterId(java.lang.String subClusterId)
Sub-cluster identifier 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:
subClusterId- New value for the property.
-
setTnComponentHealthStatusList
public MpsTransportNodeStatus.Builder setTnComponentHealthStatusList(java.util.List<MpsTnComponentHealthStatus> tnComponentHealthStatusList)
Health status of service VM deployed on this 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:
tnComponentHealthStatusList- New value for the property.
-
setTnConfigurationIssue
public MpsTransportNodeStatus.Builder setTnConfigurationIssue(java.util.List<MpsErrorClass> tnConfigurationIssue)
This object contains the list of issues encountered during post deployment configuration for a particular 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:
tnConfigurationIssue- New value for the property.
-
setTnDeploymentIssues
public MpsTransportNodeStatus.Builder setTnDeploymentIssues(java.util.List<MpsErrorClass> tnDeploymentIssues)
List of issue and detailed description of the issue in case of deployment 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:
tnDeploymentIssues- New value for the property.
-
setTnDeploymentStatus
public MpsTransportNodeStatus.Builder setTnDeploymentStatus(java.lang.String tnDeploymentStatus)
Possible values are:-
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_UPGRADE_IN_PROGRESS -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_UPGRADE_FAILED -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_DEPLOYMENT_QUEUED -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_DEPLOYMENT_IN_PROGRESS -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_DEPLOYMENT_FAILED -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_DEPLOYMENT_SUCCESSFUL -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_UNDEPLOYMENT_QUEUED -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_UNDEPLOYMENT_IN_PROGRESS -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_UNDEPLOYMENT_FAILED -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_UNDEPLOYMENT_SUCCESSFUL -
MpsTransportNodeStatus.TN_DEPLOYMENT_STATUS_UPGRADE_QUEUED
- Parameters:
tnDeploymentStatus- New value for the property.
-
-
setTransportNodeId
public MpsTransportNodeStatus.Builder setTransportNodeId(java.lang.String transportNodeId)
Transport node 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.- Parameters:
transportNodeId- New value for the property.
-
build
public MpsTransportNodeStatus build()
-
-