Class StackResourceSummary
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.StackResourceSummary
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StackResourceSummary extends Object implements Serializable, Cloneable
Contains high-level information about the specified stack resource.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StackResourceSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackResourceSummary
clone()
boolean
equals(Object obj)
Date
getLastUpdatedTimestamp()
Time the status was updated.String
getLogicalResourceId()
The logical name of the resource specified in the template.String
getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of the resource.String
getResourceStatus()
Current status of the resource.String
getResourceStatusReason()
Success/failure message associated with the resource.String
getResourceType()
Type of resource.int
hashCode()
void
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.void
setLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.void
setPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of the resource.void
setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.void
setResourceStatus(String resourceStatus)
Current status of the resource.void
setResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.void
setResourceType(String resourceType)
Type of resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.StackResourceSummary
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.StackResourceSummary
withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.StackResourceSummary
withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of the resource.StackResourceSummary
withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.StackResourceSummary
withResourceStatus(String resourceStatus)
Current status of the resource.StackResourceSummary
withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.StackResourceSummary
withResourceType(String resourceType)
Type of resource.
-
-
-
Method Detail
-
setLogicalResourceId
public void setLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
- Parameters:
logicalResourceId
- The logical name of the resource specified in the template.
-
getLogicalResourceId
public String getLogicalResourceId()
The logical name of the resource specified in the template.
- Returns:
- The logical name of the resource specified in the template.
-
withLogicalResourceId
public StackResourceSummary withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
- Parameters:
logicalResourceId
- The logical name of the resource specified in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPhysicalResourceId
public void setPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of the resource.
- Parameters:
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of the resource.
-
getPhysicalResourceId
public String getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of the resource.
- Returns:
- The name or unique identifier that corresponds to a physical instance ID of the resource.
-
withPhysicalResourceId
public StackResourceSummary withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of the resource.
- Parameters:
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceType
public void setResourceType(String resourceType)
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
- Parameters:
resourceType
- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
-
getResourceType
public String getResourceType()
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
- Returns:
- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
-
withResourceType
public StackResourceSummary withResourceType(String resourceType)
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
- Parameters:
resourceType
- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastUpdatedTimestamp
public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.
- Parameters:
lastUpdatedTimestamp
- Time the status was updated.
-
getLastUpdatedTimestamp
public Date getLastUpdatedTimestamp()
Time the status was updated.
- Returns:
- Time the status was updated.
-
withLastUpdatedTimestamp
public StackResourceSummary withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.
- Parameters:
lastUpdatedTimestamp
- Time the status was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceStatus
public void setResourceStatus(String resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus
- Current status of the resource.- See Also:
ResourceStatus
-
getResourceStatus
public String getResourceStatus()
Current status of the resource.
- Returns:
- Current status of the resource.
- See Also:
ResourceStatus
-
withResourceStatus
public StackResourceSummary withResourceStatus(String resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus
- Current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus
-
setResourceStatus
public void setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus
- Current status of the resource.- See Also:
ResourceStatus
-
withResourceStatus
public StackResourceSummary withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus
- Current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus
-
setResourceStatusReason
public void setResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
- Parameters:
resourceStatusReason
- Success/failure message associated with the resource.
-
getResourceStatusReason
public String getResourceStatusReason()
Success/failure message associated with the resource.
- Returns:
- Success/failure message associated with the resource.
-
withResourceStatusReason
public StackResourceSummary withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
- Parameters:
resourceStatusReason
- Success/failure message associated with the resource.- 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 StackResourceSummary clone()
-
-