@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeGeneratedTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeGeneratedTemplateResult() |
Modifier and Type | Method and Description |
---|---|
DescribeGeneratedTemplateResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time the generated template was created.
|
String |
getGeneratedTemplateId()
The Amazon Resource Name (ARN) of the generated template.
|
String |
getGeneratedTemplateName()
The name of the generated template.
|
Date |
getLastUpdatedTime()
The time the generated template was last updated.
|
TemplateProgress |
getProgress()
An object describing the progress of the template generation.
|
List<ResourceDetail> |
getResources()
A list of objects describing the details of the resources in the template generation.
|
String |
getStackId()
The stack ARN of the base stack if a base stack was provided when generating the template.
|
String |
getStatus()
The status of the template generation.
|
String |
getStatusReason()
The reason for the current template generation status.
|
TemplateConfiguration |
getTemplateConfiguration()
The configuration details of the generated template, including the
DeletionPolicy and
UpdateReplacePolicy . |
Integer |
getTotalWarnings()
The number of warnings generated for this template.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
The time the generated template was created.
|
void |
setGeneratedTemplateId(String generatedTemplateId)
The Amazon Resource Name (ARN) of the generated template.
|
void |
setGeneratedTemplateName(String generatedTemplateName)
The name of the generated template.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time the generated template was last updated.
|
void |
setProgress(TemplateProgress progress)
An object describing the progress of the template generation.
|
void |
setResources(Collection<ResourceDetail> resources)
A list of objects describing the details of the resources in the template generation.
|
void |
setStackId(String stackId)
The stack ARN of the base stack if a base stack was provided when generating the template.
|
void |
setStatus(String status)
The status of the template generation.
|
void |
setStatusReason(String statusReason)
The reason for the current template generation status.
|
void |
setTemplateConfiguration(TemplateConfiguration templateConfiguration)
The configuration details of the generated template, including the
DeletionPolicy and
UpdateReplacePolicy . |
void |
setTotalWarnings(Integer totalWarnings)
The number of warnings generated for this template.
|
String |
toString()
Returns a string representation of this object.
|
DescribeGeneratedTemplateResult |
withCreationTime(Date creationTime)
The time the generated template was created.
|
DescribeGeneratedTemplateResult |
withGeneratedTemplateId(String generatedTemplateId)
The Amazon Resource Name (ARN) of the generated template.
|
DescribeGeneratedTemplateResult |
withGeneratedTemplateName(String generatedTemplateName)
The name of the generated template.
|
DescribeGeneratedTemplateResult |
withLastUpdatedTime(Date lastUpdatedTime)
The time the generated template was last updated.
|
DescribeGeneratedTemplateResult |
withProgress(TemplateProgress progress)
An object describing the progress of the template generation.
|
DescribeGeneratedTemplateResult |
withResources(Collection<ResourceDetail> resources)
A list of objects describing the details of the resources in the template generation.
|
DescribeGeneratedTemplateResult |
withResources(ResourceDetail... resources)
A list of objects describing the details of the resources in the template generation.
|
DescribeGeneratedTemplateResult |
withStackId(String stackId)
The stack ARN of the base stack if a base stack was provided when generating the template.
|
DescribeGeneratedTemplateResult |
withStatus(GeneratedTemplateStatus status)
The status of the template generation.
|
DescribeGeneratedTemplateResult |
withStatus(String status)
The status of the template generation.
|
DescribeGeneratedTemplateResult |
withStatusReason(String statusReason)
The reason for the current template generation status.
|
DescribeGeneratedTemplateResult |
withTemplateConfiguration(TemplateConfiguration templateConfiguration)
The configuration details of the generated template, including the
DeletionPolicy and
UpdateReplacePolicy . |
DescribeGeneratedTemplateResult |
withTotalWarnings(Integer totalWarnings)
The number of warnings generated for this template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGeneratedTemplateId(String generatedTemplateId)
The Amazon Resource Name (ARN) of the generated template. The format is
arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example,
arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
generatedTemplateId
- The Amazon Resource Name (ARN) of the generated template. The format is
arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example,
arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.public String getGeneratedTemplateId()
The Amazon Resource Name (ARN) of the generated template. The format is
arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example,
arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example,
arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.public DescribeGeneratedTemplateResult withGeneratedTemplateId(String generatedTemplateId)
The Amazon Resource Name (ARN) of the generated template. The format is
arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example,
arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
generatedTemplateId
- The Amazon Resource Name (ARN) of the generated template. The format is
arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example,
arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.public void setGeneratedTemplateName(String generatedTemplateName)
The name of the generated template.
generatedTemplateName
- The name of the generated template.public String getGeneratedTemplateName()
The name of the generated template.
public DescribeGeneratedTemplateResult withGeneratedTemplateName(String generatedTemplateName)
The name of the generated template.
generatedTemplateName
- The name of the generated template.public List<ResourceDetail> getResources()
A list of objects describing the details of the resources in the template generation.
public void setResources(Collection<ResourceDetail> resources)
A list of objects describing the details of the resources in the template generation.
resources
- A list of objects describing the details of the resources in the template generation.public DescribeGeneratedTemplateResult withResources(ResourceDetail... resources)
A list of objects describing the details of the resources in the template generation.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- A list of objects describing the details of the resources in the template generation.public DescribeGeneratedTemplateResult withResources(Collection<ResourceDetail> resources)
A list of objects describing the details of the resources in the template generation.
resources
- A list of objects describing the details of the resources in the template generation.public void setStatus(String status)
The status of the template generation. Supported values are:
CreatePending
- the creation of the template is pending.
CreateInProgress
- the creation of the template is in progress.
DeletePending
- the deletion of the template is pending.
DeleteInProgress
- the deletion of the template is in progress.
UpdatePending
- the update of the template is pending.
UpdateInProgress
- the update of the template is in progress.
Failed
- the template operation failed.
Complete
- the template operation is complete.
status
- The status of the template generation. Supported values are:
CreatePending
- the creation of the template is pending.
CreateInProgress
- the creation of the template is in progress.
DeletePending
- the deletion of the template is pending.
DeleteInProgress
- the deletion of the template is in progress.
UpdatePending
- the update of the template is pending.
UpdateInProgress
- the update of the template is in progress.
Failed
- the template operation failed.
Complete
- the template operation is complete.
GeneratedTemplateStatus
public String getStatus()
The status of the template generation. Supported values are:
CreatePending
- the creation of the template is pending.
CreateInProgress
- the creation of the template is in progress.
DeletePending
- the deletion of the template is pending.
DeleteInProgress
- the deletion of the template is in progress.
UpdatePending
- the update of the template is pending.
UpdateInProgress
- the update of the template is in progress.
Failed
- the template operation failed.
Complete
- the template operation is complete.
CreatePending
- the creation of the template is pending.
CreateInProgress
- the creation of the template is in progress.
DeletePending
- the deletion of the template is pending.
DeleteInProgress
- the deletion of the template is in progress.
UpdatePending
- the update of the template is pending.
UpdateInProgress
- the update of the template is in progress.
Failed
- the template operation failed.
Complete
- the template operation is complete.
GeneratedTemplateStatus
public DescribeGeneratedTemplateResult withStatus(String status)
The status of the template generation. Supported values are:
CreatePending
- the creation of the template is pending.
CreateInProgress
- the creation of the template is in progress.
DeletePending
- the deletion of the template is pending.
DeleteInProgress
- the deletion of the template is in progress.
UpdatePending
- the update of the template is pending.
UpdateInProgress
- the update of the template is in progress.
Failed
- the template operation failed.
Complete
- the template operation is complete.
status
- The status of the template generation. Supported values are:
CreatePending
- the creation of the template is pending.
CreateInProgress
- the creation of the template is in progress.
DeletePending
- the deletion of the template is pending.
DeleteInProgress
- the deletion of the template is in progress.
UpdatePending
- the update of the template is pending.
UpdateInProgress
- the update of the template is in progress.
Failed
- the template operation failed.
Complete
- the template operation is complete.
GeneratedTemplateStatus
public DescribeGeneratedTemplateResult withStatus(GeneratedTemplateStatus status)
The status of the template generation. Supported values are:
CreatePending
- the creation of the template is pending.
CreateInProgress
- the creation of the template is in progress.
DeletePending
- the deletion of the template is pending.
DeleteInProgress
- the deletion of the template is in progress.
UpdatePending
- the update of the template is pending.
UpdateInProgress
- the update of the template is in progress.
Failed
- the template operation failed.
Complete
- the template operation is complete.
status
- The status of the template generation. Supported values are:
CreatePending
- the creation of the template is pending.
CreateInProgress
- the creation of the template is in progress.
DeletePending
- the deletion of the template is pending.
DeleteInProgress
- the deletion of the template is in progress.
UpdatePending
- the update of the template is pending.
UpdateInProgress
- the update of the template is in progress.
Failed
- the template operation failed.
Complete
- the template operation is complete.
GeneratedTemplateStatus
public void setStatusReason(String statusReason)
The reason for the current template generation status. This will provide more details if a failure happened.
statusReason
- The reason for the current template generation status. This will provide more details if a failure
happened.public String getStatusReason()
The reason for the current template generation status. This will provide more details if a failure happened.
public DescribeGeneratedTemplateResult withStatusReason(String statusReason)
The reason for the current template generation status. This will provide more details if a failure happened.
statusReason
- The reason for the current template generation status. This will provide more details if a failure
happened.public void setCreationTime(Date creationTime)
The time the generated template was created.
creationTime
- The time the generated template was created.public Date getCreationTime()
The time the generated template was created.
public DescribeGeneratedTemplateResult withCreationTime(Date creationTime)
The time the generated template was created.
creationTime
- The time the generated template was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The time the generated template was last updated.
lastUpdatedTime
- The time the generated template was last updated.public Date getLastUpdatedTime()
The time the generated template was last updated.
public DescribeGeneratedTemplateResult withLastUpdatedTime(Date lastUpdatedTime)
The time the generated template was last updated.
lastUpdatedTime
- The time the generated template was last updated.public void setProgress(TemplateProgress progress)
An object describing the progress of the template generation.
progress
- An object describing the progress of the template generation.public TemplateProgress getProgress()
An object describing the progress of the template generation.
public DescribeGeneratedTemplateResult withProgress(TemplateProgress progress)
An object describing the progress of the template generation.
progress
- An object describing the progress of the template generation.public void setStackId(String stackId)
The stack ARN of the base stack if a base stack was provided when generating the template.
stackId
- The stack ARN of the base stack if a base stack was provided when generating the template.public String getStackId()
The stack ARN of the base stack if a base stack was provided when generating the template.
public DescribeGeneratedTemplateResult withStackId(String stackId)
The stack ARN of the base stack if a base stack was provided when generating the template.
stackId
- The stack ARN of the base stack if a base stack was provided when generating the template.public void setTemplateConfiguration(TemplateConfiguration templateConfiguration)
The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.
templateConfiguration
- The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.public TemplateConfiguration getTemplateConfiguration()
The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.
DeletionPolicy
and
UpdateReplacePolicy
.public DescribeGeneratedTemplateResult withTemplateConfiguration(TemplateConfiguration templateConfiguration)
The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.
templateConfiguration
- The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.public void setTotalWarnings(Integer totalWarnings)
The number of warnings generated for this template. The warnings are found in the details of each of the resources in the template.
totalWarnings
- The number of warnings generated for this template. The warnings are found in the details of each of the
resources in the template.public Integer getTotalWarnings()
The number of warnings generated for this template. The warnings are found in the details of each of the resources in the template.
public DescribeGeneratedTemplateResult withTotalWarnings(Integer totalWarnings)
The number of warnings generated for this template. The warnings are found in the details of each of the resources in the template.
totalWarnings
- The number of warnings generated for this template. The warnings are found in the details of each of the
resources in the template.public String toString()
toString
in class Object
Object.toString()
public DescribeGeneratedTemplateResult clone()