Class CfnAutoScalingGroup.RetentionTriggersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.RetentionTriggersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutoScalingGroup.RetentionTriggersProperty>
- Enclosing interface:
CfnAutoScalingGroup.RetentionTriggersProperty
@Stability(Stable)
public static final class CfnAutoScalingGroup.RetentionTriggersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutoScalingGroup.RetentionTriggersProperty>
A builder for
CfnAutoScalingGroup.RetentionTriggersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.terminateHookAbandon(String terminateHookAbandon) Sets the value ofCfnAutoScalingGroup.RetentionTriggersProperty.getTerminateHookAbandon()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
terminateHookAbandon
@Stability(Stable) public CfnAutoScalingGroup.RetentionTriggersProperty.Builder terminateHookAbandon(String terminateHookAbandon) Sets the value ofCfnAutoScalingGroup.RetentionTriggersProperty.getTerminateHookAbandon()- Parameters:
terminateHookAbandon- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutoScalingGroup.RetentionTriggersProperty>- Returns:
- a new instance of
CfnAutoScalingGroup.RetentionTriggersProperty - Throws:
NullPointerException- if any required attribute was not provided
-