public class StackResource
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The StackResource data type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
User defined description associated with the 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 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.
|
private java.util.Date |
timestamp
Time the status was updated.
|
Constructor and Description |
---|
StackResource() |
Modifier and Type | Method and Description |
---|---|
StackResource |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
User defined description associated with the resource.
|
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 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.
|
java.util.Date |
getTimestamp()
Time the status was updated.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
User defined description associated with the resource.
|
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 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.
|
void |
setTimestamp(java.util.Date timestamp)
Time the status was updated.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StackResource |
withDescription(java.lang.String description)
User defined description associated with the resource.
|
StackResource |
withLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
|
StackResource |
withPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID
of a resource supported by AWS CloudFormation.
|
StackResource |
withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
StackResource |
withResourceStatus(java.lang.String resourceStatus)
Current status of the resource.
|
StackResource |
withResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
|
StackResource |
withResourceType(java.lang.String resourceType)
Type of resource.
|
StackResource |
withStackId(java.lang.String stackId)
Unique identifier of the stack.
|
StackResource |
withStackName(java.lang.String stackName)
The name associated with the stack.
|
StackResource |
withTimestamp(java.util.Date timestamp)
Time the status was updated.
|
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 timestamp
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.
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 StackResource 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 StackResource 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 StackResource 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 StackResource 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 StackResource 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 setTimestamp(java.util.Date timestamp)
Time the status was updated.
timestamp
- Time the status was updated.public java.util.Date getTimestamp()
Time the status was updated.
public StackResource withTimestamp(java.util.Date timestamp)
Time the status was updated.
timestamp
- 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 StackResource 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 StackResource 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 StackResource 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 StackResource withDescription(java.lang.String description)
User defined description associated with the resource.
description
- User defined description 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 StackResource clone()
clone
in class java.lang.Object