public static interface UpdateTerminationProtectionRequest.Builder extends CloudFormationRequest.Builder, CopyableBuilder<UpdateTerminationProtectionRequest.Builder,UpdateTerminationProtectionRequest>
Modifier and Type | Method and Description |
---|---|
UpdateTerminationProtectionRequest.Builder |
enableTerminationProtection(Boolean enableTerminationProtection)
Whether to enable termination protection on the specified stack.
|
UpdateTerminationProtectionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateTerminationProtectionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateTerminationProtectionRequest.Builder |
stackName(String stackName)
The name or unique ID of the stack for which you want to set termination protection.
|
build
requestOverrideConfig
copy
apply, build
UpdateTerminationProtectionRequest.Builder enableTerminationProtection(Boolean enableTerminationProtection)
Whether to enable termination protection on the specified stack.
enableTerminationProtection
- Whether to enable termination protection on the specified stack.UpdateTerminationProtectionRequest.Builder stackName(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.UpdateTerminationProtectionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.UpdateTerminationProtectionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.