@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackResourceDetail extends Object implements Serializable, Cloneable
Contains detailed information about the specified stack resource.
Constructor and Description |
---|
StackResourceDetail() |
Modifier and Type | Method and Description |
---|---|
StackResourceDetail |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
User defined description associated with the resource.
|
StackResourceDriftInformation |
getDriftInformation()
Information about whether the resource's actual configuration differs, or has drifted, from its expected
configuration, as defined in the stack template and any values specified as template parameters.
|
Date |
getLastUpdatedTimestamp()
Time the status was updated.
|
String |
getLogicalResourceId()
The logical name of the resource specified in the template.
|
String |
getMetadata()
The content of the
Metadata attribute declared for the resource. |
ModuleInfo |
getModuleInfo()
Contains information about the module from which the resource was created, if the resource was created from a
module included in the stack template.
|
String |
getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
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 |
setDriftInformation(StackResourceDriftInformation driftInformation)
Information about whether the resource's actual configuration differs, or has drifted, from its expected
configuration, as defined in the stack template and any values specified as template parameters.
|
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 content of the
Metadata attribute declared for the resource. |
void |
setModuleInfo(ModuleInfo moduleInfo)
Contains information about the module from which the resource was created, if the resource was created from a
module included in the stack template.
|
void |
setPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
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.
|
StackResourceDetail |
withDescription(String description)
User defined description associated with the resource.
|
StackResourceDetail |
withDriftInformation(StackResourceDriftInformation driftInformation)
Information about whether the resource's actual configuration differs, or has drifted, from its expected
configuration, as defined in the stack template and any values specified as template parameters.
|
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 content of the
Metadata attribute declared for the resource. |
StackResourceDetail |
withModuleInfo(ModuleInfo moduleInfo)
Contains information about the module from which the resource was created, if the resource was created from a
module included in the stack template.
|
StackResourceDetail |
withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
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 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 CloudFormation.
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.public String getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
public StackResourceDetail withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.public void setResourceType(String resourceType)
Type of resource. ((For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
resourceType
- Type of resource. ((For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)public String getResourceType()
Type of resource. ((For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
public StackResourceDetail withResourceType(String resourceType)
Type of resource. ((For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)
resourceType
- Type of resource. ((For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.)public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.
lastUpdatedTimestamp
- Time the status was updated.public Date getLastUpdatedTimestamp()
Time the status was updated.
public StackResourceDetail withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.
lastUpdatedTimestamp
- 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail 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 StackResourceDetail withDescription(String description)
User defined description associated with the resource.
description
- User defined description associated with the resource.public void setMetadata(String metadata)
The content of the Metadata
attribute declared for the resource. For more information, see Metadata
Attribute in the CloudFormation User Guide.
metadata
- The content of the Metadata
attribute declared for the resource. For more information, see Metadata
Attribute in the CloudFormation User Guide.public String getMetadata()
The content of the Metadata
attribute declared for the resource. For more information, see Metadata
Attribute in the CloudFormation User Guide.
Metadata
attribute declared for the resource. For more information, see
Metadata Attribute in the CloudFormation User Guide.public StackResourceDetail withMetadata(String metadata)
The content of the Metadata
attribute declared for the resource. For more information, see Metadata
Attribute in the CloudFormation User Guide.
metadata
- The content of the Metadata
attribute declared for the resource. For more information, see Metadata
Attribute in the CloudFormation User Guide.public void setDriftInformation(StackResourceDriftInformation driftInformation)
Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
driftInformation
- Information about whether the resource's actual configuration differs, or has drifted, from its
expected configuration, as defined in the stack template and any values specified as template parameters.
For more information, see Detecting
Unregulated Configuration Changes to Stacks and Resources.public StackResourceDriftInformation getDriftInformation()
Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
public StackResourceDetail withDriftInformation(StackResourceDriftInformation driftInformation)
Information about whether the resource's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
driftInformation
- Information about whether the resource's actual configuration differs, or has drifted, from its
expected configuration, as defined in the stack template and any values specified as template parameters.
For more information, see Detecting
Unregulated Configuration Changes to Stacks and Resources.public void setModuleInfo(ModuleInfo moduleInfo)
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
moduleInfo
- Contains information about the module from which the resource was created, if the resource was created
from a module included in the stack template.public ModuleInfo getModuleInfo()
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
public StackResourceDetail withModuleInfo(ModuleInfo moduleInfo)
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
moduleInfo
- Contains information about the module from which the resource was created, if the resource was created
from a module included in the stack template.public String toString()
toString
in class Object
Object.toString()
public StackResourceDetail clone()