public class StackResourceSummary extends Object implements Serializable
Contains high-level information about the specified stack resource.
Constructor and Description |
---|
StackResourceSummary() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getLogicalResourceId()
public void setLogicalResourceId(String logicalResourceId)
logicalResourceId
- The logical name of the resource specified in the template.public StackResourceSummary withLogicalResourceId(String logicalResourceId)
Returns a reference to this object so that method calls can be chained together.
logicalResourceId
- The logical name of the resource specified in the template.public String getPhysicalResourceId()
public void setPhysicalResourceId(String physicalResourceId)
physicalResourceId
- The name or unique identifier that corresponds to a physical instance
ID of the resource.public StackResourceSummary withPhysicalResourceId(String physicalResourceId)
Returns a reference to this object so that method calls can be chained together.
physicalResourceId
- The name or unique identifier that corresponds to a physical instance
ID of the resource.public String getResourceType()
public void setResourceType(String resourceType)
resourceType
- Type of resource. (For more information, go to
AWS Resource Types Reference in the AWS CloudFormation User
Guide.)public StackResourceSummary withResourceType(String resourceType)
Returns a reference to this object so that method calls can be chained together.
resourceType
- Type of resource. (For more information, go to
AWS Resource Types Reference in the AWS CloudFormation User
Guide.)public Date getLastUpdatedTimestamp()
public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
lastUpdatedTimestamp
- Time the status was updated.public StackResourceSummary withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Returns a reference to this object so that method calls can be chained together.
lastUpdatedTimestamp
- Time the status was updated.public String getResourceStatus()
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
ResourceStatus
public void setResourceStatus(String resourceStatus)
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
resourceStatus
- Current status of the resource.ResourceStatus
public StackResourceSummary withResourceStatus(String resourceStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
resourceStatus
- Current status of the resource.ResourceStatus
public void setResourceStatus(ResourceStatus resourceStatus)
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
resourceStatus
- Current status of the resource.ResourceStatus
public StackResourceSummary withResourceStatus(ResourceStatus resourceStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
resourceStatus
- Current status of the resource.ResourceStatus
public String getResourceStatusReason()
public void setResourceStatusReason(String resourceStatusReason)
resourceStatusReason
- Success/failure message associated with the resource.public StackResourceSummary withResourceStatusReason(String resourceStatusReason)
Returns a reference to this object so that method calls can be chained together.
resourceStatusReason
- Success/failure message associated with the resource.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.