code: public Observable<Void> cancelJobAsync(String resourceGroupName, String accountName, String transformName, String jobName) {
          return cancelJobWithServiceResponseAsync(resourceGroupName, accountName, transformName, jobName).map(new Func1<ServiceResponse<Void>, Void>() {
              @Override
              public Void call(ServiceResponse<Void> response) {
                  return response.body();
              }
          });
      }
docs: Cancel Job.
  Cancel a Job.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param transformName The Transform name.
  @param jobName The Job name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceResponse} object if successful.