Interface CancelJobRunRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CancelJobRunRequest.Builder,,CancelJobRunRequest> EmrServerlessRequest.Builder,SdkBuilder<CancelJobRunRequest.Builder,,CancelJobRunRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CancelJobRunRequest
@Mutable
@NotThreadSafe
public static interface CancelJobRunRequest.Builder
extends EmrServerlessRequest.Builder, SdkPojo, CopyableBuilder<CancelJobRunRequest.Builder,CancelJobRunRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The ID of the application on which the job run will be canceled.The ID of the job run to cancel.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.shutdownGracePeriodInSeconds(Integer shutdownGracePeriodInSeconds) The duration in seconds to wait before forcefully terminating the job after cancellation is requested.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The ID of the application on which the job run will be canceled.
- Parameters:
applicationId- The ID of the application on which the job run will be canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunId
The ID of the job run to cancel.
- Parameters:
jobRunId- The ID of the job run to cancel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shutdownGracePeriodInSeconds
The duration in seconds to wait before forcefully terminating the job after cancellation is requested.
- Parameters:
shutdownGracePeriodInSeconds- The duration in seconds to wait before forcefully terminating the job after cancellation is requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CancelJobRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CancelJobRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-