@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTerminationProtectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTerminationProtectionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTerminationProtectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEnableTerminationProtection()
Whether to enable termination protection on the specified stack.
|
String |
getStackName()
The name or unique ID of the stack for which you want to set termination protection.
|
int |
hashCode() |
Boolean |
isEnableTerminationProtection()
Whether to enable termination protection on the specified stack.
|
void |
setEnableTerminationProtection(Boolean enableTerminationProtection)
Whether to enable termination protection on the specified stack.
|
void |
setStackName(String stackName)
The name or unique ID of the stack for which you want to set termination protection.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateTerminationProtectionRequest |
withEnableTerminationProtection(Boolean enableTerminationProtection)
Whether to enable termination protection on the specified stack.
|
UpdateTerminationProtectionRequest |
withStackName(String stackName)
The name or unique ID of the stack for which you want to set termination protection.
|
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, withSdkRequestTimeout
public void setEnableTerminationProtection(Boolean enableTerminationProtection)
Whether to enable termination protection on the specified stack.
enableTerminationProtection
- Whether to enable termination protection on the specified stack.public Boolean getEnableTerminationProtection()
Whether to enable termination protection on the specified stack.
public UpdateTerminationProtectionRequest withEnableTerminationProtection(Boolean enableTerminationProtection)
Whether to enable termination protection on the specified stack.
enableTerminationProtection
- Whether to enable termination protection on the specified stack.public Boolean isEnableTerminationProtection()
Whether to enable termination protection on the specified stack.
public void setStackName(String stackName)
The name or unique ID of the stack for which you want to set termination protection.
stackName
- The name or unique ID of the stack for which you want to set termination protection.public String getStackName()
The name or unique ID of the stack for which you want to set termination protection.
public UpdateTerminationProtectionRequest withStackName(String stackName)
The name or unique ID of the stack for which you want to set termination protection.
stackName
- The name or unique ID of the stack for which you want to set termination protection.public String toString()
toString
in class Object
Object.toString()
public UpdateTerminationProtectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.