@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateSummary extends Object implements Serializable, Cloneable
The summary of a generated template.
Constructor and Description |
---|
TemplateSummary() |
Modifier and Type | Method and Description |
---|---|
TemplateSummary |
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.
|
Integer |
getNumberOfResources()
The number of resources in the generated template.
|
String |
getStatus()
The status of the template generation.
|
String |
getStatusReason()
The reason for the current template generation status.
|
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 |
setNumberOfResources(Integer numberOfResources)
The number of resources in the generated template.
|
void |
setStatus(String status)
The status of the template generation.
|
void |
setStatusReason(String statusReason)
The reason for the current template generation status.
|
String |
toString()
Returns a string representation of this object.
|
TemplateSummary |
withCreationTime(Date creationTime)
The time the generated template was created.
|
TemplateSummary |
withGeneratedTemplateId(String generatedTemplateId)
The Amazon Resource Name (ARN) of the generated template.
|
TemplateSummary |
withGeneratedTemplateName(String generatedTemplateName)
The name of the generated template.
|
TemplateSummary |
withLastUpdatedTime(Date lastUpdatedTime)
The time the generated template was last updated.
|
TemplateSummary |
withNumberOfResources(Integer numberOfResources)
The number of resources in the generated template.
|
TemplateSummary |
withStatus(GeneratedTemplateStatus status)
The status of the template generation.
|
TemplateSummary |
withStatus(String status)
The status of the template generation.
|
TemplateSummary |
withStatusReason(String statusReason)
The reason for the current template generation status.
|
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 TemplateSummary 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 TemplateSummary withGeneratedTemplateName(String generatedTemplateName)
The name of the generated template.
generatedTemplateName
- The name of the generated template.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 TemplateSummary 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 TemplateSummary 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 TemplateSummary 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 TemplateSummary 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 TemplateSummary withLastUpdatedTime(Date lastUpdatedTime)
The time the generated template was last updated.
lastUpdatedTime
- The time the generated template was last updated.public void setNumberOfResources(Integer numberOfResources)
The number of resources in the generated template. This is a total of resources in pending, in-progress, completed, and failed states.
numberOfResources
- The number of resources in the generated template. This is a total of resources in pending, in-progress,
completed, and failed states.public Integer getNumberOfResources()
The number of resources in the generated template. This is a total of resources in pending, in-progress, completed, and failed states.
public TemplateSummary withNumberOfResources(Integer numberOfResources)
The number of resources in the generated template. This is a total of resources in pending, in-progress, completed, and failed states.
numberOfResources
- The number of resources in the generated template. This is a total of resources in pending, in-progress,
completed, and failed states.public String toString()
toString
in class Object
Object.toString()
public TemplateSummary clone()