CopyableBuilder<CancelJobRequest.Builder,CancelJobRequest>
, SdkBuilder<CancelJobRequest.Builder,CancelJobRequest>
public static interface CancelJobRequest.Builder extends CopyableBuilder<CancelJobRequest.Builder,CancelJobRequest>
Modifier and Type | Method | Description |
---|---|---|
CancelJobRequest.Builder |
jobId(String jobId) |
A list of up to 100 job IDs to cancel.
|
CancelJobRequest.Builder |
reason(String reason) |
A message to attach to the job that explains the reason for cancelling it.
|
copy
apply, build
CancelJobRequest.Builder jobId(String jobId)
A list of up to 100 job IDs to cancel.
jobId
- A list of up to 100 job IDs to cancel.CancelJobRequest.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.