JobPatchParameter.withOnAllTasksComplete(OnAllTasksComplete onAllTasksComplete) Method

定义

Set if omitted, the completion behavior is left unchanged. You may not change the value from terminatejob to noaction - that is, once you have engaged automatic job termination, you cannot turn it off again. If you try to do this, the request fails with an 'invalid property value' error response; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). Possible values include: 'noAction', 'terminateJob'.

public JobPatchParameter withOnAllTasksComplete(OnAllTasksComplete onAllTasksComplete)

参数

onAllTasksComplete
OnAllTasksComplete

the onAllTasksComplete value to set

返回

the JobPatchParameter object itself.

适用于