public static interface CancelJobRequest.Builder extends BatchRequest.Builder, CopyableBuilder<CancelJobRequest.Builder,CancelJobRequest>
Modifier and Type | Method and Description |
---|---|
CancelJobRequest.Builder |
jobId(String jobId)
The AWS Batch job ID of the job to cancel.
|
CancelJobRequest.Builder |
reason(String reason)
A message to attach to the job that explains the reason for cancelling it.
|
CancelJobRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CancelJobRequest.Builder jobId(String jobId)
The AWS Batch job ID of the job to cancel.
jobId
- The AWS Batch job ID of the job 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.CancelJobRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.