public static interface SetTerminationProtectionRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<SetTerminationProtectionRequest.Builder,SetTerminationProtectionRequest>
Modifier and Type | Method and Description |
---|---|
SetTerminationProtectionRequest.Builder |
jobFlowIds(Collection<String> jobFlowIds)
A list of strings that uniquely identify the clusters to protect.
|
SetTerminationProtectionRequest.Builder |
jobFlowIds(String... jobFlowIds)
A list of strings that uniquely identify the clusters to protect.
|
SetTerminationProtectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SetTerminationProtectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
build
overrideConfiguration
copy
applyMutation, build
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 .
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 .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 .
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 .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.
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.SetTerminationProtectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
SetTerminationProtectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.