code: public ServiceFuture<Void> validateWorkflowAsync(String resourceGroupName, String workflowName, WorkflowInner validate, final ServiceCallback<Void> serviceCallback) {
          return ServiceFuture.fromResponse(validateWorkflowWithServiceResponseAsync(resourceGroupName, workflowName, validate), serviceCallback);
      }
docs: Validates the workflow.
  
  @param resourceGroupName The resource group name.
  @param workflowName The workflow name.
  @param validate The workflow.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object