public void update(String jobId, String taskId) {
        updateWithServiceResponseAsync(jobId, taskId).toBlocking().single().body();
    }
public void update ( String jobId , String taskId ) { updateWithServiceResponseAsync ( jobId , taskId ) . toBlocking ( ) . single ( ) . body ( ) ; }
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.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws BatchErrorException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent