Class StackResourceDetail
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.StackResourceDetail
-
- All Implemented Interfaces:
Serializable,Cloneable
public class StackResourceDetail extends Object implements Serializable, Cloneable
Contains detailed information about the specified stack resource.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StackResourceDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackResourceDetailclone()booleanequals(Object obj)StringgetDescription()User defined description associated with the resource.DategetLastUpdatedTimestamp()Time the status was updated.StringgetLogicalResourceId()The logical name of the resource specified in the template.StringgetMetadata()The JSON format content of theMetadataattribute declared for the resource.StringgetPhysicalResourceId()The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.StringgetResourceStatus()Current status of the resource.StringgetResourceStatusReason()Success/failure message associated with the resource.StringgetResourceType()Type of resource.StringgetStackId()Unique identifier of the stack.StringgetStackName()The name associated with the stack.inthashCode()voidsetDescription(String description)User defined description associated with the resource.voidsetLastUpdatedTimestamp(Date lastUpdatedTimestamp)Time the status was updated.voidsetLogicalResourceId(String logicalResourceId)The logical name of the resource specified in the template.voidsetMetadata(String metadata)The JSON format content of theMetadataattribute declared for the resource.voidsetPhysicalResourceId(String physicalResourceId)The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.voidsetResourceStatus(ResourceStatus resourceStatus)Current status of the resource.voidsetResourceStatus(String resourceStatus)Current status of the resource.voidsetResourceStatusReason(String resourceStatusReason)Success/failure message associated with the resource.voidsetResourceType(String resourceType)Type of resource.voidsetStackId(String stackId)Unique identifier of the stack.voidsetStackName(String stackName)The name associated with the stack.StringtoString()Returns a string representation of this object; useful for testing and debugging.StackResourceDetailwithDescription(String description)User defined description associated with the resource.StackResourceDetailwithLastUpdatedTimestamp(Date lastUpdatedTimestamp)Time the status was updated.StackResourceDetailwithLogicalResourceId(String logicalResourceId)The logical name of the resource specified in the template.StackResourceDetailwithMetadata(String metadata)The JSON format content of theMetadataattribute declared for the resource.StackResourceDetailwithPhysicalResourceId(String physicalResourceId)The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.StackResourceDetailwithResourceStatus(ResourceStatus resourceStatus)Current status of the resource.StackResourceDetailwithResourceStatus(String resourceStatus)Current status of the resource.StackResourceDetailwithResourceStatusReason(String resourceStatusReason)Success/failure message associated with the resource.StackResourceDetailwithResourceType(String resourceType)Type of resource.StackResourceDetailwithStackId(String stackId)Unique identifier of the stack.StackResourceDetailwithStackName(String stackName)The name associated with the stack.
-
-
-
Method Detail
-
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 StackResourceDetail 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.
-
setStackId
public void setStackId(String stackId)
Unique identifier of the stack.
- Parameters:
stackId- Unique identifier of the stack.
-
getStackId
public String getStackId()
Unique identifier of the stack.
- Returns:
- Unique identifier of the stack.
-
withStackId
public StackResourceDetail withStackId(String stackId)
Unique identifier of the stack.
- Parameters:
stackId- Unique identifier of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 StackResourceDetail 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 a resource supported by AWS CloudFormation.
- Parameters:
physicalResourceId- The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
-
getPhysicalResourceId
public String getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
- Returns:
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
-
withPhysicalResourceId
public StackResourceDetail withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
- Parameters:
physicalResourceId- The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.- 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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.
-
setDescription
public void setDescription(String description)
User defined description associated with the resource.
- Parameters:
description- User defined description associated with the resource.
-
getDescription
public String getDescription()
User defined description associated with the resource.
- Returns:
- User defined description associated with the resource.
-
withDescription
public StackResourceDetail withDescription(String description)
User defined description associated with the resource.
- Parameters:
description- User defined description associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMetadata
public void setMetadata(String metadata)
The JSON format content of the
Metadataattribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.- Parameters:
metadata- The JSON format content of theMetadataattribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.
-
getMetadata
public String getMetadata()
The JSON format content of the
Metadataattribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.- Returns:
- The JSON format content of the
Metadataattribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.
-
withMetadata
public StackResourceDetail withMetadata(String metadata)
The JSON format content of the
Metadataattribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.- Parameters:
metadata- The JSON format content of theMetadataattribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StackResourceDetail clone()
-
-