public ServiceFuture<Object> generateUpgradedDefinitionAsync(String resourceGroupName, String workflowName, String targetSchemaVersion, final ServiceCallback<Object> serviceCallback) {
        return ServiceFuture.fromResponse(generateUpgradedDefinitionWithServiceResponseAsync(resourceGroupName, workflowName, targetSchemaVersion), serviceCallback);
    }
public ServiceFuture < Object > generateUpgradedDefinitionAsync ( String resourceGroupName , String workflowName , String targetSchemaVersion , final ServiceCallback < Object > serviceCallback ) { return ServiceFuture . fromResponse ( generateUpgradedDefinitionWithServiceResponseAsync ( resourceGroupName , workflowName , targetSchemaVersion ) , serviceCallback ) ; }
Generates the upgraded definition for a workflow.

@param resourceGroupName The resource group name.
@param workflowName The workflow name.
@param targetSchemaVersion The target schema version.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object