code: public void cancelJob(String resourceGroupName, String accountName, String transformName, String jobName) {
          cancelJobWithServiceResponseAsync(resourceGroupName, accountName, transformName, jobName).toBlocking().single().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
  @throws ApiErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent