Parameter. with OnAll Tasks Complete(OnAllTasksComplete onAllTasksComplete)
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)
the onAllTasksComplete value to set
the JobPatchParameter object itself.