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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
applicationIdThe 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.
 
- 
jobRunIdThe 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.
 
- 
shutdownGracePeriodInSecondsThe 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.
 
- 
overrideConfigurationCancelJobRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCancelJobRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-