code: public WorkflowInner createOrUpdate(String resourceGroupName, String workflowName, WorkflowInner workflow) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, workflowName, workflow).toBlocking().single().body();
      }
docs: Creates or updates a workflow.
  
  @param resourceGroupName The resource group name.
  @param workflowName The workflow name.
  @param workflow 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
  @return the WorkflowInner object if successful.