code: public void terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions) {
          terminateWithServiceResponseAsync(jobScheduleId, jobScheduleTerminateOptions).toBlocking().single().body();
      }
docs: Terminates a job schedule.
  
  @param jobScheduleId The ID of the job schedule to terminates.
  @param jobScheduleTerminateOptions 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