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
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
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-