Package com.vmware.nsx_policy.model
Class ControlConnStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ControlConnStatus.Builder
-
- Enclosing class:
- ControlConnStatus
public static final class ControlConnStatus.Builder extends java.lang.Object
Builder class forControlConnStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofControlConnStatus
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofControlConnStatus
.
-
-
Method Detail
-
setControlNodeIp
public ControlConnStatus.Builder setControlNodeIp(java.lang.String controlNodeIp)
IP address of the control 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:
controlNodeIp
- New value for the property.
-
setFailureStatus
public ControlConnStatus.Builder setFailureStatus(java.lang.String failureStatus)
Possible values are:-
ControlConnStatus.FAILURE_STATUS_CONNECTION_REFUSED
-
ControlConnStatus.FAILURE_STATUS_INCOMPLETE_HOST_CERT
-
ControlConnStatus.FAILURE_STATUS_INCOMPLETE_CONTROLLER_CERT
-
ControlConnStatus.FAILURE_STATUS_CONTROLLER_REJECTED_HOST_CERT
-
ControlConnStatus.FAILURE_STATUS_HOST_REJECTED_CONTROLLER_CERT
-
ControlConnStatus.FAILURE_STATUS_KEEP_ALIVE_TIMEOUT
-
ControlConnStatus.FAILURE_STATUS_OTHER_SSL_ERROR
-
ControlConnStatus.FAILURE_STATUS_OTHER_ERROR
- Parameters:
failureStatus
- New value for the property.
-
-
setStatus
public ControlConnStatus.Builder setStatus(java.lang.String status)
Possible values are: Status of the control Node for e.g UP, DOWN. 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:
status
- New value for the property.
-
build
public ControlConnStatus build()
-
-