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 TypeMethodDescriptionTheClusterID
for 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 cancelRUNNING
steps.stepCancellationOption
(StepCancellationOption stepCancellationOption) The option to choose to cancelRUNNING
steps.The list ofStepIDs
to cancel.stepIds
(Collection<String> stepIds) The list ofStepIDs
to cancel.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterId
The
ClusterID
for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.- Parameters:
clusterId
- TheClusterID
for 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
StepIDs
to cancel. Use ListSteps to get steps and their states for the specified cluster.- Parameters:
stepIds
- The list ofStepIDs
to 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
StepIDs
to cancel. Use ListSteps to get steps and their states for the specified cluster.- Parameters:
stepIds
- The list ofStepIDs
to 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
RUNNING
steps. By default, the value isSEND_INTERRUPT
.- Parameters:
stepCancellationOption
- The option to choose to cancelRUNNING
steps. 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
RUNNING
steps. By default, the value isSEND_INTERRUPT
.- Parameters:
stepCancellationOption
- The option to choose to cancelRUNNING
steps. 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-