@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.
GeneratedTemplateDeletionPolicy
public 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.
GeneratedTemplateDeletionPolicy
public 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.
GeneratedTemplateDeletionPolicy
public 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.
GeneratedTemplateDeletionPolicy
public 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.
GeneratedTemplateUpdateReplacePolicy
public 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.
GeneratedTemplateUpdateReplacePolicy
public 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.
GeneratedTemplateUpdateReplacePolicy
public 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.
GeneratedTemplateUpdateReplacePolicy
public String toString()
toString
in class Object
Object.toString()
public TemplateConfiguration clone()