Interface SetKeepJobFlowAliveWhenNoStepsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SetKeepJobFlowAliveWhenNoStepsRequest.Builder,
,SetKeepJobFlowAliveWhenNoStepsRequest> EmrRequest.Builder
,SdkBuilder<SetKeepJobFlowAliveWhenNoStepsRequest.Builder,
,SetKeepJobFlowAliveWhenNoStepsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SetKeepJobFlowAliveWhenNoStepsRequest
public static interface SetKeepJobFlowAliveWhenNoStepsRequest.Builder
extends EmrRequest.Builder, SdkPojo, CopyableBuilder<SetKeepJobFlowAliveWhenNoStepsRequest.Builder,SetKeepJobFlowAliveWhenNoStepsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionjobFlowIds
(String... jobFlowIds) A list of strings that uniquely identify the clusters to protect.jobFlowIds
(Collection<String> jobFlowIds) A list of strings that uniquely identify the clusters to protect.keepJobFlowAliveWhenNoSteps
(Boolean keepJobFlowAliveWhenNoSteps) A Boolean that indicates whether to terminate the cluster after all steps are executed.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
jobFlowIds
A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows.
- Parameters:
jobFlowIds
- A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobFlowIds
A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows.
- Parameters:
jobFlowIds
- A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keepJobFlowAliveWhenNoSteps
SetKeepJobFlowAliveWhenNoStepsRequest.Builder keepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps) A Boolean that indicates whether to terminate the cluster after all steps are executed.
- Parameters:
keepJobFlowAliveWhenNoSteps
- A Boolean that indicates whether to terminate the cluster after all steps are executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SetKeepJobFlowAliveWhenNoStepsRequest.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
SetKeepJobFlowAliveWhenNoStepsRequest.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.
-