CopyableBuilder<TerminateJobRequest.Builder,TerminateJobRequest>
, SdkBuilder<TerminateJobRequest.Builder,TerminateJobRequest>
public static interface TerminateJobRequest.Builder extends CopyableBuilder<TerminateJobRequest.Builder,TerminateJobRequest>
Modifier and Type | Method | Description |
---|---|---|
TerminateJobRequest.Builder |
jobId(String jobId) |
Job IDs to be terminated.
|
TerminateJobRequest.Builder |
reason(String reason) |
A message to attach to the job that explains the reason for cancelling it.
|
copy
apply, build
TerminateJobRequest.Builder jobId(String jobId)
Job IDs to be terminated. Up to 100 jobs can be specified.
jobId
- Job IDs to be terminated. Up to 100 jobs can be specified.TerminateJobRequest.Builder reason(String reason)
A message to attach to the job that explains the reason for cancelling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity logs.
reason
- A message to attach to the job that explains the reason for cancelling it. This message is returned by
future DescribeJobs operations on the job. This message is also recorded in the AWS Batch
activity logs.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.