public ServiceFuture<Void> updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions, final ServiceCallback<Void> serviceCallback) {
        return ServiceFuture.fromHeaderResponse(updateWithServiceResponseAsync(jobId, taskId, constraints, taskUpdateOptions), serviceCallback);
    }
public ServiceFuture < Void > updateAsync ( String jobId , String taskId , TaskConstraints constraints , TaskUpdateOptions taskUpdateOptions , final ServiceCallback < Void > serviceCallback ) { return ServiceFuture . fromHeaderResponse ( updateWithServiceResponseAsync ( jobId , taskId , constraints , taskUpdateOptions ) , serviceCallback ) ; }
Updates the properties of the specified task.

@param jobId The ID of the job containing the task.
@param taskId The ID of the task to update.
@param constraints Constraints that apply to this task. If omitted, the task is given the default constraints. For multi-instance tasks, updating the retention time applies only to the primary task and not subtasks.
@param taskUpdateOptions Additional parameters for the operation
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object