public static interface CancelJobRequest.Builder extends BatchRequest.Builder, SdkPojo, 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CancelJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CancelJobRequest.Builder |
reason(String reason)
A message to attach to the job that explains the reason for canceling it.
|
buildoverrideConfigurationcopyapplyMutation, 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 canceling 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 canceling 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CancelJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.