public ServiceFuture<WorkflowInner> updateAsync(String resourceGroupName, String workflowName, WorkflowInner workflow, final ServiceCallback<WorkflowInner> serviceCallback) {
        return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, workflowName, workflow), serviceCallback);
    }
public ServiceFuture < WorkflowInner > updateAsync ( String resourceGroupName , String workflowName , WorkflowInner workflow , final ServiceCallback < WorkflowInner > serviceCallback ) { return ServiceFuture . fromResponse ( updateWithServiceResponseAsync ( resourceGroupName , workflowName , workflow ) , serviceCallback ) ; }
Updates a workflow.

@param resourceGroupName The resource group name.
@param workflowName The workflow name.
@param workflow 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