@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetTerminationProtectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input argument to the TerminationProtection operation.
NOOP| Constructor and Description | 
|---|
SetTerminationProtectionRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
SetTerminationProtectionRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
List<String> | 
getJobFlowIds()
 A list of strings that uniquely identify the clusters to protect. 
 | 
Boolean | 
getTerminationProtected()
 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. 
 | 
int | 
hashCode()  | 
Boolean | 
isTerminationProtected()
 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. 
 | 
void | 
setJobFlowIds(Collection<String> jobFlowIds)
 A list of strings that uniquely identify the clusters to protect. 
 | 
void | 
setTerminationProtected(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. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
SetTerminationProtectionRequest | 
withJobFlowIds(Collection<String> jobFlowIds)
 A list of strings that uniquely identify the clusters to protect. 
 | 
SetTerminationProtectionRequest | 
withJobFlowIds(String... jobFlowIds)
 A list of strings that uniquely identify the clusters to protect. 
 | 
SetTerminationProtectionRequest | 
withTerminationProtected(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. 
 | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<String> getJobFlowIds()
A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
public void setJobFlowIds(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 .public SetTerminationProtectionRequest withJobFlowIds(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 .public SetTerminationProtectionRequest withJobFlowIds(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 .public void setTerminationProtected(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.public Boolean getTerminationProtected()
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.
public SetTerminationProtectionRequest withTerminationProtected(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.public Boolean isTerminationProtected()
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.
public String toString()
toString in class ObjectObject.toString()public SetTerminationProtectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.