@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackResource extends Object implements Serializable, Cloneable
The StackResource data type.
Constructor and Description |
---|
StackResource() |
Modifier and Type | Method and Description |
---|---|
StackResource |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
User defined description associated with the resource.
|
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 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.
|
Date |
getTimestamp()
Time the status was updated.
|
int |
hashCode() |
void |
setDescription(String description)
User defined description associated with the resource.
|
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 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.
|
void |
setTimestamp(Date timestamp)
Time the status was updated.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StackResource |
withDescription(String description)
User defined description associated with the resource.
|
StackResource |
withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
StackResource |
withPhysicalResourceId(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(String resourceStatus)
Current status of the resource.
|
StackResource |
withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
|
StackResource |
withResourceType(String resourceType)
Type of resource.
|
StackResource |
withStackId(String stackId)
Unique identifier of the stack.
|
StackResource |
withStackName(String stackName)
The name associated with the stack.
|
StackResource |
withTimestamp(Date timestamp)
Time the status was updated.
|
public void setStackName(String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.public String getStackName()
The name associated with the stack.
public StackResource withStackName(String stackName)
The name associated with the stack.
stackName
- The name associated with the stack.public void setStackId(String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.public String getStackId()
Unique identifier of the stack.
public StackResource withStackId(String stackId)
Unique identifier of the stack.
stackId
- Unique identifier of the stack.public void setLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
logicalResourceId
- The logical name of the resource specified in the template.public String getLogicalResourceId()
The logical name of the resource specified in the template.
public StackResource withLogicalResourceId(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(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 String getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
public StackResource withPhysicalResourceId(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(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 String getResourceType()
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
public StackResource withResourceType(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(Date timestamp)
Time the status was updated.
timestamp
- Time the status was updated.public Date getTimestamp()
Time the status was updated.
public StackResource withTimestamp(Date timestamp)
Time the status was updated.
timestamp
- Time the status was updated.public void setResourceStatus(String resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public String getResourceStatus()
Current status of the resource.
ResourceStatus
public StackResource withResourceStatus(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(String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.public String getResourceStatusReason()
Success/failure message associated with the resource.
public StackResource withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.public void setDescription(String description)
User defined description associated with the resource.
description
- User defined description associated with the resource.public String getDescription()
User defined description associated with the resource.
public StackResource withDescription(String description)
User defined description associated with the resource.
description
- User defined description associated with the resource.public String toString()
toString
in class Object
Object.toString()
public StackResource clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.