public static interface SetTerminationProtectionRequest.Builder extends EMRRequest.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SetTerminationProtectionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildrequestOverrideConfigcopyapply, buildSetTerminationProtectionRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SetTerminationProtectionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.