CopyableBuilder<SetTerminationProtectionRequest.Builder,SetTerminationProtectionRequest>
, SdkBuilder<SetTerminationProtectionRequest.Builder,SetTerminationProtectionRequest>
public static interface SetTerminationProtectionRequest.Builder extends CopyableBuilder<SetTerminationProtectionRequest.Builder,SetTerminationProtectionRequest>
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 |
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.
|
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 .
NOTE: This method appends the values to the existing list (if any). Use
#setJobFlowIds(java.util.Collection)
or #withJobFlowIds(java.util.Collection)
if you want to
override the existing values.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.