code: public void add(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions) {
          addWithServiceResponseAsync(jobId, task, taskAddOptions).toBlocking().single().body();
      }
docs: Adds a task to the specified job.
  The maximum lifetime of a task from addition to completion is 180 days. If a task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.
  
  @param jobId The ID of the job to which the task is to be added.
  @param task The task to be added.
  @param taskAddOptions Additional parameters for the operation
  @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