Interface CancelStepsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CancelStepsRequest.Builder,,CancelStepsRequest> EmrRequest.Builder,SdkBuilder<CancelStepsRequest.Builder,,CancelStepsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CancelStepsRequest
public static interface CancelStepsRequest.Builder
extends EmrRequest.Builder, SdkPojo, CopyableBuilder<CancelStepsRequest.Builder,CancelStepsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionTheClusterIDfor the specified steps that will be canceled.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.stepCancellationOption(String stepCancellationOption) The option to choose to cancelRUNNINGsteps.stepCancellationOption(StepCancellationOption stepCancellationOption) The option to choose to cancelRUNNINGsteps.The list ofStepIDsto cancel.stepIds(Collection<String> stepIds) The list ofStepIDsto cancel.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.emr.model.EmrRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterId
The
ClusterIDfor the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.- Parameters:
clusterId- TheClusterIDfor the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepIds
The list of
StepIDsto cancel. Use ListSteps to get steps and their states for the specified cluster.- Parameters:
stepIds- The list ofStepIDsto cancel. Use ListSteps to get steps and their states for the specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepIds
The list of
StepIDsto cancel. Use ListSteps to get steps and their states for the specified cluster.- Parameters:
stepIds- The list ofStepIDsto cancel. Use ListSteps to get steps and their states for the specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepCancellationOption
The option to choose to cancel
RUNNINGsteps. By default, the value isSEND_INTERRUPT.- Parameters:
stepCancellationOption- The option to choose to cancelRUNNINGsteps. By default, the value isSEND_INTERRUPT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stepCancellationOption
The option to choose to cancel
RUNNINGsteps. By default, the value isSEND_INTERRUPT.- Parameters:
stepCancellationOption- The option to choose to cancelRUNNINGsteps. By default, the value isSEND_INTERRUPT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CancelStepsRequest.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
CancelStepsRequest.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.
-