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.
|
CancelJobRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCancelJobRequest.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.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CancelJobRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.