public static interface CancelStepsRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<CancelStepsRequest.Builder,CancelStepsRequest>
Modifier and Type | Method and Description |
---|---|
CancelStepsRequest.Builder |
clusterId(String clusterId)
The
ClusterID for the specified steps that will be canceled. |
CancelStepsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CancelStepsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CancelStepsRequest.Builder |
stepCancellationOption(StepCancellationOption stepCancellationOption)
The option to choose to cancel
RUNNING steps. |
CancelStepsRequest.Builder |
stepCancellationOption(String stepCancellationOption)
The option to choose to cancel
RUNNING steps. |
CancelStepsRequest.Builder |
stepIds(Collection<String> stepIds)
The list of
StepIDs to cancel. |
CancelStepsRequest.Builder |
stepIds(String... stepIds)
The list of
StepIDs to cancel. |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CancelStepsRequest.Builder clusterId(String clusterId)
The ClusterID
for the specified steps that will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.
clusterId
- The ClusterID
for the specified steps that will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.CancelStepsRequest.Builder stepIds(Collection<String> stepIds)
The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the
specified cluster.
stepIds
- The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the
specified cluster.CancelStepsRequest.Builder stepIds(String... stepIds)
The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the
specified cluster.
stepIds
- The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the
specified cluster.CancelStepsRequest.Builder stepCancellationOption(String stepCancellationOption)
The option to choose to cancel RUNNING
steps. By default, the value is
SEND_INTERRUPT
.
stepCancellationOption
- The option to choose to cancel RUNNING
steps. By default, the value is
SEND_INTERRUPT
.StepCancellationOption
,
StepCancellationOption
CancelStepsRequest.Builder stepCancellationOption(StepCancellationOption stepCancellationOption)
The option to choose to cancel RUNNING
steps. By default, the value is
SEND_INTERRUPT
.
stepCancellationOption
- The option to choose to cancel RUNNING
steps. By default, the value is
SEND_INTERRUPT
.StepCancellationOption
,
StepCancellationOption
CancelStepsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CancelStepsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.