JobSchedules Interface

public interface JobSchedules

An instance of this class provides access to all the operations defined in JobSchedules.

Method Summary

Modifier and Type Method and Description
void add(JobScheduleAddParameter cloudJobSchedule)

Adds a job schedule to the specified account.

void add(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)

Adds a job schedule to the specified account.

Observable<Void> addAsync(JobScheduleAddParameter cloudJobSchedule)

Adds a job schedule to the specified account.

ServiceFuture<Void> addAsync(JobScheduleAddParameter cloudJobSchedule, final ServiceCallback<Void> serviceCallback)

Adds a job schedule to the specified account.

Observable<Void> addAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)

Adds a job schedule to the specified account.

ServiceFuture<Void> addAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions, final ServiceCallback<Void> serviceCallback)

Adds a job schedule to the specified account.

Observable<ServiceResponseWithHeaders<Void, JobScheduleAddHeaders>> addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule)

Adds a job schedule to the specified account.

Observable<ServiceResponseWithHeaders<Void, JobScheduleAddHeaders>> addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)

Adds a job schedule to the specified account.

void delete(String jobScheduleId)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

void delete(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Observable<Void> deleteAsync(String jobScheduleId)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

ServiceFuture<Void> deleteAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Observable<Void> deleteAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

ServiceFuture<Void> deleteAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions, final ServiceCallback<Void> serviceCallback)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Observable<ServiceResponseWithHeaders<Void, JobScheduleDeleteHeaders>> deleteWithServiceResponseAsync(String jobScheduleId)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Observable<ServiceResponseWithHeaders<Void, JobScheduleDeleteHeaders>> deleteWithServiceResponseAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

void disable(String jobScheduleId)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

void disable(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Observable<Void> disableAsync(String jobScheduleId)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

ServiceFuture<Void> disableAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Observable<Void> disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

ServiceFuture<Void> disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions, final ServiceCallback<Void> serviceCallback)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Observable<ServiceResponseWithHeaders<Void, JobScheduleDisableHeaders>> disableWithServiceResponseAsync(String jobScheduleId)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Observable<ServiceResponseWithHeaders<Void, JobScheduleDisableHeaders>> disableWithServiceResponseAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

void enable(String jobScheduleId)

Enables a job schedule.

void enable(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)

Enables a job schedule.

Observable<Void> enableAsync(String jobScheduleId)

Enables a job schedule.

ServiceFuture<Void> enableAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)

Enables a job schedule.

Observable<Void> enableAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)

Enables a job schedule.

ServiceFuture<Void> enableAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions, final ServiceCallback<Void> serviceCallback)

Enables a job schedule.

Observable<ServiceResponseWithHeaders<Void, JobScheduleEnableHeaders>> enableWithServiceResponseAsync(String jobScheduleId)

Enables a job schedule.

Observable<ServiceResponseWithHeaders<Void, JobScheduleEnableHeaders>> enableWithServiceResponseAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)

Enables a job schedule.

boolean exists(String jobScheduleId)

Checks the specified job schedule exists.

boolean exists(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)

Checks the specified job schedule exists.

Observable<Boolean> existsAsync(String jobScheduleId)

Checks the specified job schedule exists.

ServiceFuture<Boolean> existsAsync(String jobScheduleId, final ServiceCallback<Boolean> serviceCallback)

Checks the specified job schedule exists.

Observable<Boolean> existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)

Checks the specified job schedule exists.

ServiceFuture<Boolean> existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions, final ServiceCallback<Boolean> serviceCallback)

Checks the specified job schedule exists.

Observable<ServiceResponseWithHeaders<Boolean, JobScheduleExistsHeaders>> existsWithServiceResponseAsync(String jobScheduleId)

Checks the specified job schedule exists.

Observable<ServiceResponseWithHeaders<Boolean, JobScheduleExistsHeaders>> existsWithServiceResponseAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)

Checks the specified job schedule exists.

CloudJobSchedule get(String jobScheduleId)

Gets information about the specified job schedule.

CloudJobSchedule get(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)

Gets information about the specified job schedule.

Observable<CloudJobSchedule> getAsync(String jobScheduleId)

Gets information about the specified job schedule.

ServiceFuture<CloudJobSchedule> getAsync(String jobScheduleId, final ServiceCallback<CloudJobSchedule> serviceCallback)

Gets information about the specified job schedule.

Observable<CloudJobSchedule> getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)

Gets information about the specified job schedule.

ServiceFuture<CloudJobSchedule> getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions, final ServiceCallback<CloudJobSchedule> serviceCallback)

Gets information about the specified job schedule.

Observable<ServiceResponseWithHeaders<CloudJobSchedule, JobScheduleGetHeaders>> getWithServiceResponseAsync(String jobScheduleId)

Gets information about the specified job schedule.

Observable<ServiceResponseWithHeaders<CloudJobSchedule, JobScheduleGetHeaders>> getWithServiceResponseAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)

Gets information about the specified job schedule.

PagedList<CloudJobSchedule> list()

Lists all of the job schedules in the specified account.

PagedList<CloudJobSchedule> list(final JobScheduleListOptions jobScheduleListOptions)

Lists all of the job schedules in the specified account.

Observable<Page<CloudJobSchedule>> listAsync()

Lists all of the job schedules in the specified account.

Observable<Page<CloudJobSchedule>> listAsync(final JobScheduleListOptions jobScheduleListOptions)

Lists all of the job schedules in the specified account.

ServiceFuture<List<CloudJobSchedule>> listAsync(final JobScheduleListOptions jobScheduleListOptions, final ListOperationCallback<CloudJobSchedule> serviceCallback)

Lists all of the job schedules in the specified account.

ServiceFuture<List<CloudJobSchedule>> listAsync(final ListOperationCallback<CloudJobSchedule> serviceCallback)

Lists all of the job schedules in the specified account.

PagedList<CloudJobSchedule> listNext(final String nextPageLink)

Lists all of the job schedules in the specified account.

PagedList<CloudJobSchedule> listNext(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)

Lists all of the job schedules in the specified account.

Observable<Page<CloudJobSchedule>> listNextAsync(final String nextPageLink)

Lists all of the job schedules in the specified account.

Observable<Page<CloudJobSchedule>> listNextAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)

Lists all of the job schedules in the specified account.

ServiceFuture<List<CloudJobSchedule>> listNextAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions, final ServiceFuture<List<CloudJobSchedule>> serviceFuture, final ListOperationCallback<CloudJobSchedule> serviceCallback)

Lists all of the job schedules in the specified account.

ServiceFuture<List<CloudJobSchedule>> listNextAsync(final String nextPageLink, final ServiceFuture<List<CloudJobSchedule>> serviceFuture, final ListOperationCallback<CloudJobSchedule> serviceCallback)

Lists all of the job schedules in the specified account.

Observable<ServiceResponseWithHeaders<Page<CloudJobSchedule>, JobScheduleListHeaders>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists all of the job schedules in the specified account.

Observable<ServiceResponseWithHeaders<Page<CloudJobSchedule>, JobScheduleListHeaders>> listNextWithServiceResponseAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)

Lists all of the job schedules in the specified account.

Observable<ServiceResponseWithHeaders<Page<CloudJobSchedule>, JobScheduleListHeaders>> listWithServiceResponseAsync()

Lists all of the job schedules in the specified account.

Observable<ServiceResponseWithHeaders<Page<CloudJobSchedule>, JobScheduleListHeaders>> listWithServiceResponseAsync(final JobScheduleListOptions jobScheduleListOptions)

Lists all of the job schedules in the specified account.

void patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

void patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Observable<Void> patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

ServiceFuture<Void> patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, final ServiceCallback<Void> serviceCallback)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Observable<Void> patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

ServiceFuture<Void> patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions, final ServiceCallback<Void> serviceCallback)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Observable<ServiceResponseWithHeaders<Void, JobSchedulePatchHeaders>> patchWithServiceResponseAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Observable<ServiceResponseWithHeaders<Void, JobSchedulePatchHeaders>> patchWithServiceResponseAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

void terminate(String jobScheduleId)

Terminates a job schedule.

void terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

Terminates a job schedule.

Observable<Void> terminateAsync(String jobScheduleId)

Terminates a job schedule.

ServiceFuture<Void> terminateAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)

Terminates a job schedule.

Observable<Void> terminateAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

Terminates a job schedule.

ServiceFuture<Void> terminateAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions, final ServiceCallback<Void> serviceCallback)

Terminates a job schedule.

Observable<ServiceResponseWithHeaders<Void, JobScheduleTerminateHeaders>> terminateWithServiceResponseAsync(String jobScheduleId)

Terminates a job schedule.

Observable<ServiceResponseWithHeaders<Void, JobScheduleTerminateHeaders>> terminateWithServiceResponseAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

Terminates a job schedule.

void update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

void update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Observable<Void> updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

ServiceFuture<Void> updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, final ServiceCallback<Void> serviceCallback)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Observable<Void> updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

ServiceFuture<Void> updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions, final ServiceCallback<Void> serviceCallback)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Observable<ServiceResponseWithHeaders<Void, JobScheduleUpdateHeaders>> updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Observable<ServiceResponseWithHeaders<Void, JobScheduleUpdateHeaders>> updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Method Details

add

public void add(JobScheduleAddParameter cloudJobSchedule)

Adds a job schedule to the specified account.

Parameters:

cloudJobSchedule - The job schedule to be added.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

add

public void add(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)

Adds a job schedule to the specified account.

Parameters:

cloudJobSchedule - The job schedule to be added.
jobScheduleAddOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

addAsync

public Observable addAsync(JobScheduleAddParameter cloudJobSchedule)

Adds a job schedule to the specified account.

Parameters:

cloudJobSchedule - The job schedule to be added.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addAsync

public ServiceFuture addAsync(JobScheduleAddParameter cloudJobSchedule, final ServiceCallback serviceCallback)

Adds a job schedule to the specified account.

Parameters:

cloudJobSchedule - The job schedule to be added.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addAsync

public Observable addAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)

Adds a job schedule to the specified account.

Parameters:

cloudJobSchedule - The job schedule to be added.
jobScheduleAddOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addAsync

public ServiceFuture addAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions, final ServiceCallback serviceCallback)

Adds a job schedule to the specified account.

Parameters:

cloudJobSchedule - The job schedule to be added.
jobScheduleAddOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addWithServiceResponseAsync

public Observable<>> addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule)

Adds a job schedule to the specified account.

Parameters:

cloudJobSchedule - The job schedule to be added.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addWithServiceResponseAsync

public Observable<>> addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)

Adds a job schedule to the specified account.

Parameters:

cloudJobSchedule - The job schedule to be added.
jobScheduleAddOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

delete

public void delete(String jobScheduleId)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Parameters:

jobScheduleId - The ID of the job schedule to delete.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

delete

public void delete(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Parameters:

jobScheduleId - The ID of the job schedule to delete.
jobScheduleDeleteOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteAsync

public Observable deleteAsync(String jobScheduleId)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Parameters:

jobScheduleId - The ID of the job schedule to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteAsync

public ServiceFuture deleteAsync(String jobScheduleId, final ServiceCallback serviceCallback)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Parameters:

jobScheduleId - The ID of the job schedule to delete.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteAsync

public Observable deleteAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Parameters:

jobScheduleId - The ID of the job schedule to delete.
jobScheduleDeleteOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteAsync

public ServiceFuture deleteAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions, final ServiceCallback serviceCallback)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Parameters:

jobScheduleId - The ID of the job schedule to delete.
jobScheduleDeleteOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteWithServiceResponseAsync

public Observable<>> deleteWithServiceResponseAsync(String jobScheduleId)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Parameters:

jobScheduleId - The ID of the job schedule to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteWithServiceResponseAsync

public Observable<>> deleteWithServiceResponseAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)

Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.

Parameters:

jobScheduleId - The ID of the job schedule to delete.
jobScheduleDeleteOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disable

public void disable(String jobScheduleId)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Parameters:

jobScheduleId - The ID of the job schedule to disable.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

disable

public void disable(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Parameters:

jobScheduleId - The ID of the job schedule to disable.
jobScheduleDisableOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

disableAsync

public Observable disableAsync(String jobScheduleId)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Parameters:

jobScheduleId - The ID of the job schedule to disable.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableAsync

public ServiceFuture disableAsync(String jobScheduleId, final ServiceCallback serviceCallback)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Parameters:

jobScheduleId - The ID of the job schedule to disable.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableAsync

public Observable disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Parameters:

jobScheduleId - The ID of the job schedule to disable.
jobScheduleDisableOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableAsync

public ServiceFuture disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions, final ServiceCallback serviceCallback)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Parameters:

jobScheduleId - The ID of the job schedule to disable.
jobScheduleDisableOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableWithServiceResponseAsync

public Observable<>> disableWithServiceResponseAsync(String jobScheduleId)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Parameters:

jobScheduleId - The ID of the job schedule to disable.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableWithServiceResponseAsync

public Observable<>> disableWithServiceResponseAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)

Disables a job schedule. No new jobs will be created until the job schedule is enabled again.

Parameters:

jobScheduleId - The ID of the job schedule to disable.
jobScheduleDisableOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enable

public void enable(String jobScheduleId)

Enables a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to enable.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

enable

public void enable(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)

Enables a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to enable.
jobScheduleEnableOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

enableAsync

public Observable enableAsync(String jobScheduleId)

Enables a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to enable.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableAsync

public ServiceFuture enableAsync(String jobScheduleId, final ServiceCallback serviceCallback)

Enables a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to enable.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableAsync

public Observable enableAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)

Enables a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to enable.
jobScheduleEnableOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableAsync

public ServiceFuture enableAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions, final ServiceCallback serviceCallback)

Enables a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to enable.
jobScheduleEnableOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableWithServiceResponseAsync

public Observable<>> enableWithServiceResponseAsync(String jobScheduleId)

Enables a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to enable.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableWithServiceResponseAsync

public Observable<>> enableWithServiceResponseAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)

Enables a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to enable.
jobScheduleEnableOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

exists

public boolean exists(String jobScheduleId)

Checks the specified job schedule exists.

Parameters:

jobScheduleId - The ID of the job schedule which you want to check.

Returns:

the boolean object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

exists

public boolean exists(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)

Checks the specified job schedule exists.

Parameters:

jobScheduleId - The ID of the job schedule which you want to check.
jobScheduleExistsOptions - Additional parameters for the operation

Returns:

the boolean object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

existsAsync

public Observable existsAsync(String jobScheduleId)

Checks the specified job schedule exists.

Parameters:

jobScheduleId - The ID of the job schedule which you want to check.

Returns:

the observable to the boolean object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

existsAsync

public ServiceFuture existsAsync(String jobScheduleId, final ServiceCallback serviceCallback)

Checks the specified job schedule exists.

Parameters:

jobScheduleId - The ID of the job schedule which you want to check.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

existsAsync

public Observable existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)

Checks the specified job schedule exists.

Parameters:

jobScheduleId - The ID of the job schedule which you want to check.
jobScheduleExistsOptions - Additional parameters for the operation

Returns:

the observable to the boolean object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

existsAsync

public ServiceFuture existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions, final ServiceCallback serviceCallback)

Checks the specified job schedule exists.

Parameters:

jobScheduleId - The ID of the job schedule which you want to check.
jobScheduleExistsOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

existsWithServiceResponseAsync

public Observable<>> existsWithServiceResponseAsync(String jobScheduleId)

Checks the specified job schedule exists.

Parameters:

jobScheduleId - The ID of the job schedule which you want to check.

Returns:

the observable to the boolean object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

existsWithServiceResponseAsync

public Observable<>> existsWithServiceResponseAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)

Checks the specified job schedule exists.

Parameters:

jobScheduleId - The ID of the job schedule which you want to check.
jobScheduleExistsOptions - Additional parameters for the operation

Returns:

the observable to the boolean object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

get

public CloudJobSchedule get(String jobScheduleId)

Gets information about the specified job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to get.

Returns:

the CloudJobSchedule object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

get

public CloudJobSchedule get(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)

Gets information about the specified job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to get.
jobScheduleGetOptions - Additional parameters for the operation

Returns:

the CloudJobSchedule object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getAsync

public Observable getAsync(String jobScheduleId)

Gets information about the specified job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to get.

Returns:

the observable to the CloudJobSchedule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String jobScheduleId, final ServiceCallback serviceCallback)

Gets information about the specified job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to get.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public Observable getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)

Gets information about the specified job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to get.
jobScheduleGetOptions - Additional parameters for the operation

Returns:

the observable to the CloudJobSchedule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions, final ServiceCallback serviceCallback)

Gets information about the specified job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to get.
jobScheduleGetOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable<>> getWithServiceResponseAsync(String jobScheduleId)

Gets information about the specified job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to get.

Returns:

the observable to the CloudJobSchedule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable<>> getWithServiceResponseAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)

Gets information about the specified job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to get.
jobScheduleGetOptions - Additional parameters for the operation

Returns:

the observable to the CloudJobSchedule object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

list

public PagedList list()

Lists all of the job schedules in the specified account.

Returns:

the PagedList<CloudJobSchedule> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

list

public PagedList list(final JobScheduleListOptions jobScheduleListOptions)

Lists all of the job schedules in the specified account.

Parameters:

jobScheduleListOptions - Additional parameters for the operation

Returns:

the PagedList<CloudJobSchedule> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listAsync

public Observable<>> listAsync()

Lists all of the job schedules in the specified account.

Returns:

the observable to the PagedList<CloudJobSchedule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public Observable<>> listAsync(final JobScheduleListOptions jobScheduleListOptions)

Lists all of the job schedules in the specified account.

Parameters:

jobScheduleListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJobSchedule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture<>> listAsync(final JobScheduleListOptions jobScheduleListOptions, final ListOperationCallback serviceCallback)

Lists all of the job schedules in the specified account.

Parameters:

jobScheduleListOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture<>> listAsync(final ListOperationCallback serviceCallback)

Lists all of the job schedules in the specified account.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNext

public PagedList listNext(final String nextPageLink)

Lists all of the job schedules in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<CloudJobSchedule> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNext

public PagedList listNext(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)

Lists all of the job schedules in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobScheduleListNextOptions - Additional parameters for the operation

Returns:

the PagedList<CloudJobSchedule> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNextAsync

public Observable<>> listNextAsync(final String nextPageLink)

Lists all of the job schedules in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<CloudJobSchedule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public Observable<>> listNextAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)

Lists all of the job schedules in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobScheduleListNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJobSchedule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public ServiceFuture<>> listNextAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists all of the job schedules in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobScheduleListNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public ServiceFuture<>> listNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists all of the job schedules in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

public Observable<><>, JobScheduleListHeaders>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists all of the job schedules in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<CloudJobSchedule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

public Observable<><>, JobScheduleListHeaders>> listNextWithServiceResponseAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)

Lists all of the job schedules in the specified account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobScheduleListNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJobSchedule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable<><>, JobScheduleListHeaders>> listWithServiceResponseAsync()

Lists all of the job schedules in the specified account.

Returns:

the observable to the PagedList<CloudJobSchedule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable<><>, JobScheduleListHeaders>> listWithServiceResponseAsync(final JobScheduleListOptions jobScheduleListOptions)

Lists all of the job schedules in the specified account.

Parameters:

jobScheduleListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJobSchedule> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

patch

public void patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobSchedulePatchParameter - The parameters for the request.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

patch

public void patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobSchedulePatchParameter - The parameters for the request.
jobSchedulePatchOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

patchAsync

public Observable patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobSchedulePatchParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

patchAsync

public ServiceFuture patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, final ServiceCallback serviceCallback)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobSchedulePatchParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

patchAsync

public Observable patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobSchedulePatchParameter - The parameters for the request.
jobSchedulePatchOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

patchAsync

public ServiceFuture patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions, final ServiceCallback serviceCallback)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobSchedulePatchParameter - The parameters for the request.
jobSchedulePatchOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

patchWithServiceResponseAsync

public Observable<>> patchWithServiceResponseAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobSchedulePatchParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

patchWithServiceResponseAsync

public Observable<>> patchWithServiceResponseAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)

Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobSchedulePatchParameter - The parameters for the request.
jobSchedulePatchOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

terminate

public void terminate(String jobScheduleId)

Terminates a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to terminates.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

terminate

public void terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

Terminates a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to terminates.
jobScheduleTerminateOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

terminateAsync

public Observable terminateAsync(String jobScheduleId)

Terminates a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to terminates.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

terminateAsync

public ServiceFuture terminateAsync(String jobScheduleId, final ServiceCallback serviceCallback)

Terminates a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to terminates.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

terminateAsync

public Observable terminateAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

Terminates a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to terminates.
jobScheduleTerminateOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

terminateAsync

public ServiceFuture terminateAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions, final ServiceCallback serviceCallback)

Terminates a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to terminates.
jobScheduleTerminateOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

terminateWithServiceResponseAsync

public Observable<>> terminateWithServiceResponseAsync(String jobScheduleId)

Terminates a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to terminates.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

terminateWithServiceResponseAsync

public Observable<>> terminateWithServiceResponseAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

Terminates a job schedule.

Parameters:

jobScheduleId - The ID of the job schedule to terminates.
jobScheduleTerminateOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

update

public void update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobScheduleUpdateParameter - The parameters for the request.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

update

public void update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobScheduleUpdateParameter - The parameters for the request.
jobScheduleUpdateOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updateAsync

public Observable updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobScheduleUpdateParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, final ServiceCallback serviceCallback)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobScheduleUpdateParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public Observable updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobScheduleUpdateParameter - The parameters for the request.
jobScheduleUpdateOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions, final ServiceCallback serviceCallback)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobScheduleUpdateParameter - The parameters for the request.
jobScheduleUpdateOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable<>> updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobScheduleUpdateParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable<>> updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)

Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.

Parameters:

jobScheduleId - The ID of the job schedule to update.
jobScheduleUpdateParameter - The parameters for the request.
jobScheduleUpdateOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to