Interface SetTerminationProtectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SetTerminationProtectionRequest.Builder,,SetTerminationProtectionRequest> EmrRequest.Builder,SdkBuilder<SetTerminationProtectionRequest.Builder,,SetTerminationProtectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SetTerminationProtectionRequest
public static interface SetTerminationProtectionRequest.Builder
extends EmrRequest.Builder, SdkPojo, CopyableBuilder<SetTerminationProtectionRequest.Builder,SetTerminationProtectionRequest>
-
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.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.terminationProtected(Boolean terminationProtected) A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.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.
-
terminationProtected
A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.
- Parameters:
terminationProtected- A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SetTerminationProtectionRequest.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
SetTerminationProtectionRequest.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.
-