Interface TerminateServiceJobsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<TerminateServiceJobsRequest.Builder,,TerminateServiceJobsRequest> SdkBuilder<TerminateServiceJobsRequest.Builder,,TerminateServiceJobsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- TerminateServiceJobsRequest
@Mutable
@NotThreadSafe
public static interface TerminateServiceJobsRequest.Builder
extends BatchRequest.Builder, SdkPojo, CopyableBuilder<TerminateServiceJobsRequest.Builder,TerminateServiceJobsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionAn array of up to 50 service job IDs of the service jobs to terminate.jobs(Collection<String> jobs) An array of up to 50 service job IDs of the service jobs to terminate.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) A message to attach to the service 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 service job IDs of the service jobs to terminate.
- Parameters:
jobs- An array of up to 50 service job IDs of the service 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 service job IDs of the service jobs to terminate.
- Parameters:
jobs- An array of up to 50 service job IDs of the service 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 service job that explains the reason for terminating it. This message is returned by
DescribeServiceJoboperations on the service job.- Parameters:
reason- A message to attach to the service job that explains the reason for terminating it. This message is returned byDescribeServiceJoboperations on the service job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
TerminateServiceJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TerminateServiceJobsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-