@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackResourceSummary extends Object implements Serializable, Cloneable
Contains high-level information about the specified stack resource.
Constructor and Description |
---|
StackResourceSummary() |
Modifier and Type | Method and Description |
---|---|
StackResourceSummary |
clone() |
boolean |
equals(Object obj) |
StackResourceDriftInformationSummary |
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.
|
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 the resource.
|
String |
getResourceStatus()
Current status of the resource.
|
String |
getResourceStatusReason()
Success/failure message associated with the resource.
|
String |
getResourceType()
Type of resource.
|
int |
hashCode() |
void |
setDriftInformation(StackResourceDriftInformationSummary 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 |
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 the resource.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
StackResourceSummary |
withDriftInformation(StackResourceDriftInformationSummary 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.
|
StackResourceSummary |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
Time the status was updated.
|
StackResourceSummary |
withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
StackResourceSummary |
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.
|
StackResourceSummary |
withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of the resource.
|
StackResourceSummary |
withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
StackResourceSummary |
withResourceStatus(String resourceStatus)
Current status of the resource.
|
StackResourceSummary |
withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
|
StackResourceSummary |
withResourceType(String resourceType)
Type of resource.
|
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 StackResourceSummary 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 the resource.
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of the resource.public String getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of the resource.
public StackResourceSummary withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of the resource.
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of the resource.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 StackResourceSummary 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 StackResourceSummary 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 StackResourceSummary 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 StackResourceSummary 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 StackResourceSummary withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.public void setDriftInformation(StackResourceDriftInformationSummary 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 StackResourceDriftInformationSummary 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 StackResourceSummary withDriftInformation(StackResourceDriftInformationSummary 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 StackResourceSummary 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 StackResourceSummary clone()