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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetTerminationProtectionRequest.Builder
jobFlowIds(String... jobFlowIds)
A list of strings that uniquely identify the clusters to protect.SetTerminationProtectionRequest.Builder
jobFlowIds(Collection<String> jobFlowIds)
A list of strings that uniquely identify the clusters to protect.SetTerminationProtectionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
SetTerminationProtectionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
SetTerminationProtectionRequest.Builder
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
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 Detail
-
jobFlowIds
SetTerminationProtectionRequest.Builder jobFlowIds(Collection<String> 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
SetTerminationProtectionRequest.Builder jobFlowIds(String... 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
SetTerminationProtectionRequest.Builder 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.
- 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
SetTerminationProtectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-