Interface TerminateJobsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<TerminateJobsRequest.Builder,,TerminateJobsRequest> SdkBuilder<TerminateJobsRequest.Builder,,TerminateJobsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- TerminateJobsRequest
@Mutable
@NotThreadSafe
public static interface TerminateJobsRequest.Builder
extends BatchRequest.Builder, SdkPojo, CopyableBuilder<TerminateJobsRequest.Builder,TerminateJobsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionAn array of up to 50 Batch job IDs of the jobs to terminate.jobs(Collection<String> jobs) An array of up to 50 Batch job IDs of the jobs to terminate.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) A message to attach to the job that explains the reason for terminating it.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
jobs
An array of up to 50 Batch job IDs of the jobs to terminate.
- Parameters:
jobs- An array of up to 50 Batch job IDs of the jobs to terminate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
An array of up to 50 Batch job IDs of the jobs to terminate.
- Parameters:
jobs- An array of up to 50 Batch job IDs of the jobs to terminate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
A message to attach to the job that explains the reason for terminating it. This message is returned by future DescribeJobs operations on the job. It is also recorded in the Batch activity logs.
This parameter has a limit of 1024 characters.
- Parameters:
reason- A message to attach to the job that explains the reason for terminating it. This message is returned by future DescribeJobs operations on the job. It is also recorded in the Batch activity logs.This parameter has a limit of 1024 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
TerminateJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TerminateJobsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-