Class StackResource
- All Implemented Interfaces:
Serializable
,Cloneable
The StackResource data type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
User defined description associated with the resource.The logical name of the resource specified in the template.The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.Current status of the resource.Success/failure message associated with the resource.Type of resource.Unique identifier of the stack.The name associated with the stack.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.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) User defined description associated with the resource.withLogicalResourceId
(String logicalResourceId) The logical name of the resource specified in the template.withPhysicalResourceId
(String physicalResourceId) The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.withResourceStatus
(ResourceStatus resourceStatus) Current status of the resource.withResourceStatus
(String resourceStatus) Current status of the resource.withResourceStatusReason
(String resourceStatusReason) Success/failure message associated with the resource.withResourceType
(String resourceType) Type of resource.withStackId
(String stackId) Unique identifier of the stack.withStackName
(String stackName) The name associated with the stack.withTimestamp
(Date timestamp) Time the status was updated.
-
Constructor Details
-
StackResource
public StackResource()
-
-
Method Details
-
setStackName
The name associated with the stack.
- Parameters:
stackName
- The name associated with the stack.
-
getStackName
The name associated with the stack.
- Returns:
- The name associated with the stack.
-
withStackName
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
Unique identifier of the stack.
- Parameters:
stackId
- Unique identifier of the stack.
-
getStackId
Unique identifier of the stack.
- Returns:
- Unique identifier of the stack.
-
withStackId
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
The logical name of the resource specified in the template.
- Parameters:
logicalResourceId
- The logical name of the resource specified in the template.
-
getLogicalResourceId
The logical name of the resource specified in the template.
- Returns:
- The logical name of the resource specified in the template.
-
withLogicalResourceId
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
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
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
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
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
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
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.
-
setTimestamp
Time the status was updated.
- Parameters:
timestamp
- Time the status was updated.
-
getTimestamp
Time the status was updated.
- Returns:
- Time the status was updated.
-
withTimestamp
Time the status was updated.
- Parameters:
timestamp
- Time the status was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceStatus
Current status of the resource.
- Parameters:
resourceStatus
- Current status of the resource.- See Also:
-
getResourceStatus
Current status of the resource.
- Returns:
- Current status of the resource.
- See Also:
-
withResourceStatus
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:
-
setResourceStatus
Current status of the resource.
- Parameters:
resourceStatus
- Current status of the resource.- See Also:
-
withResourceStatus
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:
-
setResourceStatusReason
Success/failure message associated with the resource.
- Parameters:
resourceStatusReason
- Success/failure message associated with the resource.
-
getResourceStatusReason
Success/failure message associated with the resource.
- Returns:
- Success/failure message associated with the resource.
-
withResourceStatusReason
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
User defined description associated with the resource.
- Parameters:
description
- User defined description associated with the resource.
-
getDescription
User defined description associated with the resource.
- Returns:
- User defined description associated with the resource.
-
withDescription
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-