Interface TemplateConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TemplateConfiguration.Builder,TemplateConfiguration>,SdkBuilder<TemplateConfiguration.Builder,TemplateConfiguration>,SdkPojo
- Enclosing class:
- TemplateConfiguration
public static interface TemplateConfiguration.Builder extends SdkPojo, CopyableBuilder<TemplateConfiguration.Builder,TemplateConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplateConfiguration.BuilderdeletionPolicy(String deletionPolicy)TheDeletionPolicyassigned to resources in the generated template.TemplateConfiguration.BuilderdeletionPolicy(GeneratedTemplateDeletionPolicy deletionPolicy)TheDeletionPolicyassigned to resources in the generated template.TemplateConfiguration.BuilderupdateReplacePolicy(String updateReplacePolicy)TheUpdateReplacePolicyassigned to resources in the generated template.TemplateConfiguration.BuilderupdateReplacePolicy(GeneratedTemplateUpdateReplacePolicy updateReplacePolicy)TheUpdateReplacePolicyassigned to resources in the generated template.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
deletionPolicy
TemplateConfiguration.Builder deletionPolicy(String deletionPolicy)
The
DeletionPolicyassigned to resources in the generated template. Supported values are:-
DELETE- delete all resources when the stack is deleted. -
RETAIN- retain all resources when the stack is deleted.
For more information, see DeletionPolicy attribute in the CloudFormation User Guide.
- Parameters:
deletionPolicy- TheDeletionPolicyassigned to resources in the generated template. Supported values are:-
DELETE- delete all resources when the stack is deleted. -
RETAIN- retain all resources when the stack is deleted.
For more information, see DeletionPolicy attribute in the CloudFormation User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeneratedTemplateDeletionPolicy,GeneratedTemplateDeletionPolicy
-
-
deletionPolicy
TemplateConfiguration.Builder deletionPolicy(GeneratedTemplateDeletionPolicy deletionPolicy)
The
DeletionPolicyassigned to resources in the generated template. Supported values are:-
DELETE- delete all resources when the stack is deleted. -
RETAIN- retain all resources when the stack is deleted.
For more information, see DeletionPolicy attribute in the CloudFormation User Guide.
- Parameters:
deletionPolicy- TheDeletionPolicyassigned to resources in the generated template. Supported values are:-
DELETE- delete all resources when the stack is deleted. -
RETAIN- retain all resources when the stack is deleted.
For more information, see DeletionPolicy attribute in the CloudFormation User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeneratedTemplateDeletionPolicy,GeneratedTemplateDeletionPolicy
-
-
updateReplacePolicy
TemplateConfiguration.Builder updateReplacePolicy(String updateReplacePolicy)
The
UpdateReplacePolicyassigned to resources in the generated template. Supported values are:-
DELETE- delete all resources when the resource is replaced during an update operation. -
RETAIN- retain all resources when the resource is replaced during an update operation.
For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide.
- Parameters:
updateReplacePolicy- TheUpdateReplacePolicyassigned to resources in the generated template. Supported values are:-
DELETE- delete all resources when the resource is replaced during an update operation. -
RETAIN- retain all resources when the resource is replaced during an update operation.
For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeneratedTemplateUpdateReplacePolicy,GeneratedTemplateUpdateReplacePolicy
-
-
updateReplacePolicy
TemplateConfiguration.Builder updateReplacePolicy(GeneratedTemplateUpdateReplacePolicy updateReplacePolicy)
The
UpdateReplacePolicyassigned to resources in the generated template. Supported values are:-
DELETE- delete all resources when the resource is replaced during an update operation. -
RETAIN- retain all resources when the resource is replaced during an update operation.
For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide.
- Parameters:
updateReplacePolicy- TheUpdateReplacePolicyassigned to resources in the generated template. Supported values are:-
DELETE- delete all resources when the resource is replaced during an update operation. -
RETAIN- retain all resources when the resource is replaced during an update operation.
For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeneratedTemplateUpdateReplacePolicy,GeneratedTemplateUpdateReplacePolicy
-
-
-