Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudformation.model
Class StackResourceDetail

java.lang.Object
  extended by com.amazonaws.services.cloudformation.model.StackResourceDetail
All Implemented Interfaces:
Serializable

public class StackResourceDetail
extends Object
implements Serializable

Contains detailed information about the specified stack resource.

See Also:
Serialized Form

Constructor Summary
StackResourceDetail()
           
 
Method Summary
 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 the 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 the 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 the resource.
 StackResourceDetail withStackId(String stackId)
          Unique identifier of the stack.
 StackResourceDetail withStackName(String stackName)
          The name associated with the stack.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackResourceDetail

public StackResourceDetail()
Method Detail

getStackName

public String getStackName()
The name associated with the stack.

Returns:
The name associated with the stack.

setStackName

public void setStackName(String stackName)
The name associated with the stack.

Parameters:
stackName - The name associated with the stack.

withStackName

public StackResourceDetail withStackName(String stackName)
The name associated with the stack.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackName - The name associated with the stack.
Returns:
A reference to this updated object so that method calls can be chained together.

getStackId

public String getStackId()
Unique identifier of the stack.

Returns:
Unique identifier of the stack.

setStackId

public void setStackId(String stackId)
Unique identifier of the stack.

Parameters:
stackId - Unique identifier of the stack.

withStackId

public StackResourceDetail withStackId(String stackId)
Unique identifier of the stack.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - Unique identifier of the stack.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withLogicalResourceId

public StackResourceDetail withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.

Returns a reference to this object so that method calls can be chained together.

Parameters:
logicalResourceId - The logical name of the resource specified in the template.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
physicalResourceId - The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.
Returns:
A reference to this updated object so that method calls can be chained together.

getResourceType

public String getResourceType()
Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

Returns:
Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

setResourceType

public void setResourceType(String resourceType)
Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

Parameters:
resourceType - Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

withResourceType

public StackResourceDetail withResourceType(String resourceType)
Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

Returns a reference to this object so that method calls can be chained together.

Parameters:
resourceType - Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)
Returns:
A reference to this updated object so that method calls can be chained together.

getLastUpdatedTimestamp

public Date getLastUpdatedTimestamp()
Time the status was updated.

Returns:
Time the status was updated.

setLastUpdatedTimestamp

public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.

Parameters:
lastUpdatedTimestamp - Time the status was updated.

withLastUpdatedTimestamp

public StackResourceDetail withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastUpdatedTimestamp - Time the status was updated.
Returns:
A reference to this updated object so that method calls can be chained together.

getResourceStatus

public String getResourceStatus()
Current status of the resource.

Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE

Returns:
Current status of the resource.
See Also:
ResourceStatus

setResourceStatus

public void setResourceStatus(String resourceStatus)
Current status of the resource.

Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE

Parameters:
resourceStatus - Current status of the resource.
See Also:
ResourceStatus

withResourceStatus

public StackResourceDetail withResourceStatus(String resourceStatus)
Current status of the resource.

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

Parameters:
resourceStatus - Current status of the resource.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ResourceStatus

setResourceStatus

public void setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.

Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE

Parameters:
resourceStatus - Current status of the resource.
See Also:
ResourceStatus

withResourceStatus

public StackResourceDetail withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.

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

Parameters:
resourceStatus - Current status of the resource.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ResourceStatus

getResourceStatusReason

public String getResourceStatusReason()
Success/failure message associated with the resource.

Returns:
Success/failure message associated with the resource.

setResourceStatusReason

public void setResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.

Parameters:
resourceStatusReason - Success/failure message associated with the resource.

withResourceStatusReason

public StackResourceDetail withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.

Returns a reference to this object so that method calls can be chained together.

Parameters:
resourceStatusReason - Success/failure message associated with the resource.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
User defined description associated with the resource.

Returns:
User defined description associated with the resource.

setDescription

public void setDescription(String description)
User defined description associated with the resource.

Parameters:
description - User defined description associated with the resource.

withDescription

public StackResourceDetail withDescription(String description)
User defined description associated with the resource.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - User defined description associated with the resource.
Returns:
A reference to this updated object so that method calls can be chained together.

getMetadata

public String getMetadata()
The JSON format content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.

Returns:
The JSON format content of the Metadata attribute declared for the resource. For more information, see Metadata Attribute in the AWS CloudFormation User Guide.

setMetadata

public void setMetadata(String 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.

Parameters:
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.

withMetadata

public StackResourceDetail withMetadata(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.