public class StackResourceDetail extends Object implements Serializable
Contains detailed information about the specified stack resource.
Constructor and Description |
---|
StackResourceDetail() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
User defined description associated with the resource.
|
Date |
getLastUpdatedTimestamp()
Time the status was updated.
|
String |
getLogicalResourceId()
The logical name of the resource specified in the template.
|
String |
getMetadata()
The JSON format content of the
Metadata attribute
declared for the resource. |
String |
getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance
ID of a resource supported by AWS CloudFormation.
|
String |
getResourceStatus()
Current status of the resource.
|
String |
getResourceStatusReason()
Success/failure message associated with the resource.
|
String |
getResourceType()
Type of resource.
|
String |
getStackId()
Unique identifier of the stack.
|
String |
getStackName()
The name associated with the stack.
|
int |
hashCode() |
void |
setDescription(String description)
User defined description associated with the resource.
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.
|
void |
setLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
void |
setMetadata(String metadata)
The JSON format content of the
Metadata attribute
declared for the resource. |
void |
setPhysicalResourceId(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(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.
|
void |
setStackId(String stackId)
Unique identifier of the stack.
|
void |
setStackName(String stackName)
The name associated with the stack.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StackResourceDetail |
withDescription(String description)
User defined description associated with the resource.
|
StackResourceDetail |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.
|
StackResourceDetail |
withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
StackResourceDetail |
withMetadata(String metadata)
The JSON format content of the
Metadata attribute
declared for the resource. |
StackResourceDetail |
withPhysicalResourceId(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(String resourceStatus)
Current status of the resource.
|
StackResourceDetail |
withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
|
StackResourceDetail |
withResourceType(String resourceType)
Type of resource.
|
StackResourceDetail |
withStackId(String stackId)
Unique identifier of the stack.
|
StackResourceDetail |
withStackName(String stackName)
The name associated with the stack.
|
public String getStackName()
public void setStackName(String stackName)
stackName
- The name associated with the stack.public StackResourceDetail withStackName(String stackName)
Returns a reference to this object so that method calls can be chained together.
stackName
- The name associated with the stack.public String getStackId()
public void setStackId(String stackId)
stackId
- Unique identifier of the stack.public StackResourceDetail withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- Unique identifier of the stack.public String getLogicalResourceId()
public void setLogicalResourceId(String logicalResourceId)
logicalResourceId
- The logical name of the resource specified in the template.public StackResourceDetail 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 a resource supported by AWS CloudFormation.public StackResourceDetail 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 a resource supported by AWS CloudFormation.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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 getDescription()
public void setDescription(String description)
description
- User defined description associated with the resource.public StackResourceDetail withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- User defined description associated with the resource.public String getMetadata()
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 void setMetadata(String metadata)
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 StackResourceDetail withMetadata(String metadata)
Metadata
attribute
declared for the resource. For more information, see Metadata
Attribute in the AWS CloudFormation User Guide.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.