JobSchedules.terminate 方法

定义

重载

terminate(String jobScheduleId)

Terminates a job schedule.

terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

Terminates a job schedule.

terminate(String jobScheduleId)

Terminates a job schedule.

public void terminate(String jobScheduleId)

参数

jobScheduleId
String

The ID of the job schedule to terminates.

例外

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(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

Terminates a job schedule.

public void terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)

参数

jobScheduleId
String

The ID of the job schedule to terminates.

jobScheduleTerminateOptions
JobScheduleTerminateOptions

Additional parameters for the operation

例外

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

适用于