Class CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty>
- Enclosing interface:
CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty
@Stability(Stable)
public static final class CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deletionPolicy(String deletionPolicy) updateReplacePolicy(String updateReplacePolicy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deletionPolicy
@Stability(Stable) public CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty.Builder deletionPolicy(String deletionPolicy) - Parameters:
deletionPolicy- The DeletionPolicy assigned to resources in the generated template.- Returns:
this
-
updateReplacePolicy
@Stability(Stable) public CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty.Builder updateReplacePolicy(String updateReplacePolicy) Sets the value ofCfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty.getUpdateReplacePolicy()- Parameters:
updateReplacePolicy- The UpdateReplacePolicy assigned to resources in the generated template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty>- Returns:
- a new instance of
CfnGeneratedTemplatePropsMixin.TemplateConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-