public class StackResourceDetail
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains detailed information about the specified stack resource.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
User defined description associated with the resource.
|
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 |
metadata
The JSON format content of the
Metadata attribute declared
for the resource. |
private java.lang.String |
physicalResourceId
The name or unique identifier that corresponds to a physical instance ID
of a resource supported by AWS CloudFormation.
|
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.
|
private java.lang.String |
stackId
Unique identifier of the stack.
|
private java.lang.String |
stackName
The name associated with the stack.
|
Constructor and Description |
---|
StackResourceDetail() |
Modifier and Type | Method and Description |
---|---|
StackResourceDetail |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
User defined description associated with the resource.
|
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 |
getMetadata()
The JSON format content of the
Metadata attribute declared
for the resource. |
java.lang.String |
getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID
of a resource supported by AWS CloudFormation.
|
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.
|
java.lang.String |
getStackId()
Unique identifier of the stack.
|
java.lang.String |
getStackName()
The name associated with the stack.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
User defined description associated with the resource.
|
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 |
setMetadata(java.lang.String metadata)
The JSON format content of the
Metadata attribute declared
for the resource. |
void |
setPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID
of a resource supported by AWS CloudFormation.
|
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.
|
void |
setStackId(java.lang.String stackId)
Unique identifier of the stack.
|
void |
setStackName(java.lang.String stackName)
The name associated with the stack.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StackResourceDetail |
withDescription(java.lang.String description)
User defined description associated with the resource.
|
StackResourceDetail |
withLastUpdatedTimestamp(java.util.Date lastUpdatedTimestamp)
Time the status was updated.
|
StackResourceDetail |
withLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
|
StackResourceDetail |
withMetadata(java.lang.String metadata)
The JSON format content of the
Metadata attribute declared
for the resource. |
StackResourceDetail |
withPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID
of a resource supported by AWS CloudFormation.
|
StackResourceDetail |
withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
StackResourceDetail |
withResourceStatus(java.lang.String resourceStatus)
Current status of the resource.
|
StackResourceDetail |
withResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
|
StackResourceDetail |
withResourceType(java.lang.String resourceType)
Type of resource.
|
StackResourceDetail |
withStackId(java.lang.String stackId)
Unique identifier of the stack.
|
StackResourceDetail |
withStackName(java.lang.String stackName)
The name associated with the stack.
|
private java.lang.String stackName
The name associated with the stack.
private java.lang.String stackId
Unique identifier of the stack.
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 a resource supported by AWS CloudFormation.
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.
private java.lang.String description
User defined description associated with the resource.
private java.lang.String metadata
The JSON format content of the Metadata
attribute declared
for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.
public void setStackName(java.lang.String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.public java.lang.String getStackName()
The name associated with the stack.
public StackResourceDetail withStackName(java.lang.String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.public void setStackId(java.lang.String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.public java.lang.String getStackId()
Unique identifier of the stack.
public StackResourceDetail withStackId(java.lang.String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.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 StackResourceDetail 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 a resource supported by AWS CloudFormation.
physicalResourceId
- The name or unique identifier that corresponds to a physical
instance ID of a resource supported by AWS CloudFormation.public java.lang.String getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
public StackResourceDetail withPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
physicalResourceId
- The name or unique identifier that corresponds to a physical
instance ID of a resource supported by AWS CloudFormation.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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail withResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.public void setDescription(java.lang.String description)
User defined description associated with the resource.
description
- User defined description associated with the resource.public java.lang.String getDescription()
User defined description associated with the resource.
public StackResourceDetail withDescription(java.lang.String description)
User defined description associated with the resource.
description
- User defined description associated with the resource.public void setMetadata(java.lang.String metadata)
The JSON format content of the Metadata
attribute declared
for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.
metadata
- The JSON format content of the Metadata
attribute
declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.public java.lang.String getMetadata()
The JSON format content of the Metadata
attribute declared
for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.
Metadata
attribute
declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.public StackResourceDetail withMetadata(java.lang.String metadata)
The JSON format content of the Metadata
attribute declared
for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.
metadata
- The JSON format content of the Metadata
attribute
declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.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 StackResourceDetail clone()
clone
in class java.lang.Object