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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CancelStepsRequest.BuilderclusterId(String clusterId)TheClusterIDfor the specified steps that will be canceled.CancelStepsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CancelStepsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CancelStepsRequest.BuilderstepCancellationOption(String stepCancellationOption)The option to choose to cancelRUNNINGsteps.CancelStepsRequest.BuilderstepCancellationOption(StepCancellationOption stepCancellationOption)The option to choose to cancelRUNNINGsteps.CancelStepsRequest.BuilderstepIds(String... stepIds)The list ofStepIDsto cancel.CancelStepsRequest.BuilderstepIds(Collection<String> stepIds)The list ofStepIDsto 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clusterId
CancelStepsRequest.Builder clusterId(String 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
CancelStepsRequest.Builder stepIds(Collection<String> 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
CancelStepsRequest.Builder stepIds(String... 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
CancelStepsRequest.Builder stepCancellationOption(String 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,StepCancellationOption
-
stepCancellationOption
CancelStepsRequest.Builder stepCancellationOption(StepCancellationOption 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,StepCancellationOption
-
overrideConfiguration
CancelStepsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CancelStepsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-