Cloneable
, ReadLimitInfo
, ToCopyableBuilder<SetTerminationProtectionRequest.Builder,SetTerminationProtectionRequest>
@Generated("software.amazon.awssdk:codegen") public class SetTerminationProtectionRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<SetTerminationProtectionRequest.Builder,SetTerminationProtectionRequest>
The input argument to the TerminationProtection operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SetTerminationProtectionRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static SetTerminationProtectionRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<String> |
jobFlowIds() |
A list of strings that uniquely identify the clusters to protect.
|
static Class<? extends SetTerminationProtectionRequest.Builder> |
serializableBuilderClass() |
|
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.
|
SetTerminationProtectionRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public List<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 .
public 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.
public SetTerminationProtectionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SetTerminationProtectionRequest.Builder,SetTerminationProtectionRequest>
public static SetTerminationProtectionRequest.Builder builder()
public static Class<? extends SetTerminationProtectionRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.