code: public void validateWorkflow(String resourceGroupName, String workflowName, WorkflowInner validate) {
          validateWorkflowWithServiceResponseAsync(resourceGroupName, workflowName, validate).toBlocking().single().body();
      }
docs: Validates the workflow.
  
  @param resourceGroupName The resource group name.
  @param workflowName The workflow name.
  @param validate The workflow.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent