public class StackResourceSummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains high-level information about the specified stack resource.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
lastUpdatedTimestamp
Time the status was updated.
|
private java.lang.String |
logicalResourceId
The logical name of the resource specified in the template.
|
private java.lang.String |
physicalResourceId
The name or unique identifier that corresponds to a physical instance ID
of the resource.
|
private java.lang.String |
resourceStatus
Current status of the resource.
|
private java.lang.String |
resourceStatusReason
Success/failure message associated with the resource.
|
private java.lang.String |
resourceType
Type of resource.
|
Constructor and Description |
---|
StackResourceSummary() |
Modifier and Type | Method and Description |
---|---|
StackResourceSummary |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getLastUpdatedTimestamp()
Time the status was updated.
|
java.lang.String |
getLogicalResourceId()
The logical name of the resource specified in the template.
|
java.lang.String |
getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID
of the resource.
|
java.lang.String |
getResourceStatus()
Current status of the resource.
|
java.lang.String |
getResourceStatusReason()
Success/failure message associated with the resource.
|
java.lang.String |
getResourceType()
Type of resource.
|
int |
hashCode() |
void |
setLastUpdatedTimestamp(java.util.Date lastUpdatedTimestamp)
Time the status was updated.
|
void |
setLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
|
void |
setPhysicalResourceId(java.lang.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(java.lang.String resourceStatus)
Current status of the resource.
|
void |
setResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
|
void |
setResourceType(java.lang.String resourceType)
Type of resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StackResourceSummary |
withLastUpdatedTimestamp(java.util.Date lastUpdatedTimestamp)
Time the status was updated.
|
StackResourceSummary |
withLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
|
StackResourceSummary |
withPhysicalResourceId(java.lang.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(java.lang.String resourceStatus)
Current status of the resource.
|
StackResourceSummary |
withResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
|
StackResourceSummary |
withResourceType(java.lang.String resourceType)
Type of resource.
|
private java.lang.String logicalResourceId
The logical name of the resource specified in the template.
private java.lang.String physicalResourceId
The name or unique identifier that corresponds to a physical instance ID of the resource.
private java.lang.String resourceType
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
private java.util.Date lastUpdatedTimestamp
Time the status was updated.
private java.lang.String resourceStatus
Current status of the resource.
private java.lang.String resourceStatusReason
Success/failure message associated with the resource.
public void setLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
logicalResourceId
- The logical name of the resource specified in the template.public java.lang.String getLogicalResourceId()
The logical name of the resource specified in the template.
public StackResourceSummary withLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
logicalResourceId
- The logical name of the resource specified in the template.public void setPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of the resource.
physicalResourceId
- The name or unique identifier that corresponds to a physical
instance ID of the resource.public java.lang.String getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of the resource.
public StackResourceSummary withPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of the resource.
physicalResourceId
- The name or unique identifier that corresponds to a physical
instance ID of the resource.public void setResourceType(java.lang.String resourceType)
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
resourceType
- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User
Guide.)public java.lang.String getResourceType()
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
public StackResourceSummary withResourceType(java.lang.String resourceType)
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
resourceType
- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User
Guide.)public void setLastUpdatedTimestamp(java.util.Date lastUpdatedTimestamp)
Time the status was updated.
lastUpdatedTimestamp
- Time the status was updated.public java.util.Date getLastUpdatedTimestamp()
Time the status was updated.
public StackResourceSummary withLastUpdatedTimestamp(java.util.Date lastUpdatedTimestamp)
Time the status was updated.
lastUpdatedTimestamp
- Time the status was updated.public void setResourceStatus(java.lang.String resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public java.lang.String getResourceStatus()
Current status of the resource.
ResourceStatus
public StackResourceSummary withResourceStatus(java.lang.String resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public void setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public StackResourceSummary withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public void setResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.public java.lang.String getResourceStatusReason()
Success/failure message associated with the resource.
public StackResourceSummary withResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StackResourceSummary clone()
clone
in class java.lang.Object