public static interface TerminateJobRequest.Builder extends BatchRequest.Builder, CopyableBuilder<TerminateJobRequest.Builder,TerminateJobRequest>
Modifier and Type | Method and Description |
---|---|
TerminateJobRequest.Builder |
jobId(String jobId)
The AWS Batch job ID of the job to terminate.
|
TerminateJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
TerminateJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
TerminateJobRequest.Builder |
reason(String reason)
A message to attach to the job that explains the reason for cancelling it.
|
build
overrideConfiguration
copy
applyMutation, build
TerminateJobRequest.Builder jobId(String jobId)
The AWS Batch job ID of the job to terminate.
jobId
- The AWS Batch job ID of the job to terminate.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.TerminateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.TerminateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.