@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateConfiguration extends Object implements Serializable, Cloneable
The configuration details of a generated template.
| Constructor and Description |
|---|
TemplateConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TemplateConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDeletionPolicy()
The
DeletionPolicy assigned to resources in the generated template. |
String |
getUpdateReplacePolicy()
The
UpdateReplacePolicy assigned to resources in the generated template. |
int |
hashCode() |
void |
setDeletionPolicy(String deletionPolicy)
The
DeletionPolicy assigned to resources in the generated template. |
void |
setUpdateReplacePolicy(String updateReplacePolicy)
The
UpdateReplacePolicy assigned to resources in the generated template. |
String |
toString()
Returns a string representation of this object.
|
TemplateConfiguration |
withDeletionPolicy(GeneratedTemplateDeletionPolicy deletionPolicy)
The
DeletionPolicy assigned to resources in the generated template. |
TemplateConfiguration |
withDeletionPolicy(String deletionPolicy)
The
DeletionPolicy assigned to resources in the generated template. |
TemplateConfiguration |
withUpdateReplacePolicy(GeneratedTemplateUpdateReplacePolicy updateReplacePolicy)
The
UpdateReplacePolicy assigned to resources in the generated template. |
TemplateConfiguration |
withUpdateReplacePolicy(String updateReplacePolicy)
The
UpdateReplacePolicy assigned to resources in the generated template. |
public void setDeletionPolicy(String deletionPolicy)
The DeletionPolicy assigned 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.
deletionPolicy - The DeletionPolicy assigned 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.
GeneratedTemplateDeletionPolicypublic String getDeletionPolicy()
The DeletionPolicy assigned 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.
DeletionPolicy assigned 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.
GeneratedTemplateDeletionPolicypublic TemplateConfiguration withDeletionPolicy(String deletionPolicy)
The DeletionPolicy assigned 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.
deletionPolicy - The DeletionPolicy assigned 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.
GeneratedTemplateDeletionPolicypublic TemplateConfiguration withDeletionPolicy(GeneratedTemplateDeletionPolicy deletionPolicy)
The DeletionPolicy assigned 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.
deletionPolicy - The DeletionPolicy assigned 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.
GeneratedTemplateDeletionPolicypublic void setUpdateReplacePolicy(String updateReplacePolicy)
The UpdateReplacePolicy assigned 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.
updateReplacePolicy - The UpdateReplacePolicy assigned 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.
GeneratedTemplateUpdateReplacePolicypublic String getUpdateReplacePolicy()
The UpdateReplacePolicy assigned 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.
UpdateReplacePolicy assigned 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.
GeneratedTemplateUpdateReplacePolicypublic TemplateConfiguration withUpdateReplacePolicy(String updateReplacePolicy)
The UpdateReplacePolicy assigned 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.
updateReplacePolicy - The UpdateReplacePolicy assigned 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.
GeneratedTemplateUpdateReplacePolicypublic TemplateConfiguration withUpdateReplacePolicy(GeneratedTemplateUpdateReplacePolicy updateReplacePolicy)
The UpdateReplacePolicy assigned 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.
updateReplacePolicy - The UpdateReplacePolicy assigned 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.
GeneratedTemplateUpdateReplacePolicypublic String toString()
toString in class ObjectObject.toString()public TemplateConfiguration clone()