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 |
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
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.