Class StackSummary
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.StackSummary
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StackSummary extends Object implements Serializable, Cloneable
The StackSummary Data Type
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StackSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackSummary
clone()
boolean
equals(Object obj)
Date
getCreationTime()
The time the stack was created.Date
getDeletionTime()
The time the stack was deleted.Date
getLastUpdatedTime()
The time the stack was last updated.String
getStackId()
Unique stack identifier.String
getStackName()
The name associated with the stack.String
getStackStatus()
The current status of the stack.String
getStackStatusReason()
Success/Failure message associated with the stack status.String
getTemplateDescription()
The template description of the template used to create the stack.int
hashCode()
void
setCreationTime(Date creationTime)
The time the stack was created.void
setDeletionTime(Date deletionTime)
The time the stack was deleted.void
setLastUpdatedTime(Date lastUpdatedTime)
The time the stack was last updated.void
setStackId(String stackId)
Unique stack identifier.void
setStackName(String stackName)
The name associated with the stack.void
setStackStatus(StackStatus stackStatus)
The current status of the stack.void
setStackStatus(String stackStatus)
The current status of the stack.void
setStackStatusReason(String stackStatusReason)
Success/Failure message associated with the stack status.void
setTemplateDescription(String templateDescription)
The template description of the template used to create the stack.String
toString()
Returns a string representation of this object; useful for testing and debugging.StackSummary
withCreationTime(Date creationTime)
The time the stack was created.StackSummary
withDeletionTime(Date deletionTime)
The time the stack was deleted.StackSummary
withLastUpdatedTime(Date lastUpdatedTime)
The time the stack was last updated.StackSummary
withStackId(String stackId)
Unique stack identifier.StackSummary
withStackName(String stackName)
The name associated with the stack.StackSummary
withStackStatus(StackStatus stackStatus)
The current status of the stack.StackSummary
withStackStatus(String stackStatus)
The current status of the stack.StackSummary
withStackStatusReason(String stackStatusReason)
Success/Failure message associated with the stack status.StackSummary
withTemplateDescription(String templateDescription)
The template description of the template used to create the stack.
-
-
-
Method Detail
-
setStackId
public void setStackId(String stackId)
Unique stack identifier.
- Parameters:
stackId
- Unique stack identifier.
-
getStackId
public String getStackId()
Unique stack identifier.
- Returns:
- Unique stack identifier.
-
withStackId
public StackSummary withStackId(String stackId)
Unique stack identifier.
- Parameters:
stackId
- Unique stack identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackName
public void setStackName(String stackName)
The name associated with the stack.
- Parameters:
stackName
- The name associated with the stack.
-
getStackName
public String getStackName()
The name associated with the stack.
- Returns:
- The name associated with the stack.
-
withStackName
public StackSummary withStackName(String stackName)
The name associated with the stack.
- Parameters:
stackName
- The name associated with the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTemplateDescription
public void setTemplateDescription(String templateDescription)
The template description of the template used to create the stack.
- Parameters:
templateDescription
- The template description of the template used to create the stack.
-
getTemplateDescription
public String getTemplateDescription()
The template description of the template used to create the stack.
- Returns:
- The template description of the template used to create the stack.
-
withTemplateDescription
public StackSummary withTemplateDescription(String templateDescription)
The template description of the template used to create the stack.
- Parameters:
templateDescription
- The template description of the template used to create the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationTime
public void setCreationTime(Date creationTime)
The time the stack was created.
- Parameters:
creationTime
- The time the stack was created.
-
getCreationTime
public Date getCreationTime()
The time the stack was created.
- Returns:
- The time the stack was created.
-
withCreationTime
public StackSummary withCreationTime(Date creationTime)
The time the stack was created.
- Parameters:
creationTime
- The time the stack was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastUpdatedTime
public void setLastUpdatedTime(Date lastUpdatedTime)
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
- Parameters:
lastUpdatedTime
- The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
-
getLastUpdatedTime
public Date getLastUpdatedTime()
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
- Returns:
- The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
-
withLastUpdatedTime
public StackSummary withLastUpdatedTime(Date lastUpdatedTime)
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
- Parameters:
lastUpdatedTime
- The time the stack was last updated. This field will only be returned if the stack has been updated at least once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeletionTime
public void setDeletionTime(Date deletionTime)
The time the stack was deleted.
- Parameters:
deletionTime
- The time the stack was deleted.
-
getDeletionTime
public Date getDeletionTime()
The time the stack was deleted.
- Returns:
- The time the stack was deleted.
-
withDeletionTime
public StackSummary withDeletionTime(Date deletionTime)
The time the stack was deleted.
- Parameters:
deletionTime
- The time the stack was deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackStatus
public void setStackStatus(String stackStatus)
The current status of the stack.
- Parameters:
stackStatus
- The current status of the stack.- See Also:
StackStatus
-
getStackStatus
public String getStackStatus()
The current status of the stack.
- Returns:
- The current status of the stack.
- See Also:
StackStatus
-
withStackStatus
public StackSummary withStackStatus(String stackStatus)
The current status of the stack.
- Parameters:
stackStatus
- The current status of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StackStatus
-
setStackStatus
public void setStackStatus(StackStatus stackStatus)
The current status of the stack.
- Parameters:
stackStatus
- The current status of the stack.- See Also:
StackStatus
-
withStackStatus
public StackSummary withStackStatus(StackStatus stackStatus)
The current status of the stack.
- Parameters:
stackStatus
- The current status of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StackStatus
-
setStackStatusReason
public void setStackStatusReason(String stackStatusReason)
Success/Failure message associated with the stack status.
- Parameters:
stackStatusReason
- Success/Failure message associated with the stack status.
-
getStackStatusReason
public String getStackStatusReason()
Success/Failure message associated with the stack status.
- Returns:
- Success/Failure message associated with the stack status.
-
withStackStatusReason
public StackSummary withStackStatusReason(String stackStatusReason)
Success/Failure message associated with the stack status.
- Parameters:
stackStatusReason
- Success/Failure message associated with the stack status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StackSummary clone()
-
-