Package com.vmware.nsx_policy.model
Class OdsRunbookInvocationStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.OdsRunbookInvocationStatus.Builder
-
- Enclosing class:
- OdsRunbookInvocationStatus
public static final class OdsRunbookInvocationStatus.Builder extends java.lang.Object
Builder class forOdsRunbookInvocationStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofOdsRunbookInvocationStatus
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofOdsRunbookInvocationStatus
.
-
-
Method Detail
-
setOperationState
public OdsRunbookInvocationStatus.Builder setOperationState(java.lang.String operationState)
Possible values are:-
OdsRunbookInvocationStatus.OPERATION_STATE_NONE
-
OdsRunbookInvocationStatus.OPERATION_STATE_RUNBOOK_NOT_FOUND
-
OdsRunbookInvocationStatus.OPERATION_STATE_QUEUED
-
OdsRunbookInvocationStatus.OPERATION_STATE_BUSY_REJECTED
-
OdsRunbookInvocationStatus.OPERATION_STATE_THROTTLED
-
OdsRunbookInvocationStatus.OPERATION_STATE_ARG_INVALID
-
OdsRunbookInvocationStatus.OPERATION_STATE_RUNNING
-
OdsRunbookInvocationStatus.OPERATION_STATE_FINISHED
-
OdsRunbookInvocationStatus.OPERATION_STATE_GENERAL_ERROR
-
OdsRunbookInvocationStatus.OPERATION_STATE_RUNBOOK_NOT_ENABLED
-
OdsRunbookInvocationStatus.OPERATION_STATE_ABORTED
- Parameters:
operationState
- New value for the property.
-
-
setRequestStatus
public OdsRunbookInvocationStatus.Builder setRequestStatus(java.lang.String requestStatus)
Possible values are: Request status of an invocation of an Online Diagnostic System Runbook. SUCCESS - The runbook invocation request is acknowledged by the target. CONNECTION_ERROR - The runbook invocation request cannot be dispatched to the target because the messaging channel is broken. TIMEOUT - The runbook invocation request was acknowledged by the target, but it did not report operational state of the terminating class to NSX in time. 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:
requestStatus
- New value for the property.
-
build
public OdsRunbookInvocationStatus build()
-
-