Class StackResourceDetail

    • Method Detail

      • stackName

        public final String stackName()

        The name associated with the stack.

        Returns:
        The name associated with the stack.
      • stackId

        public final String stackId()

        Unique identifier of the stack.

        Returns:
        Unique identifier of the stack.
      • logicalResourceId

        public final String logicalResourceId()

        The logical name of the resource specified in the template.

        Returns:
        The logical name of the resource specified in the template.
      • physicalResourceId

        public final String physicalResourceId()

        The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.

        Returns:
        The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        Time the status was updated.

        Returns:
        Time the status was updated.
      • resourceStatusReason

        public final String resourceStatusReason()

        Success/failure message associated with the resource.

        Returns:
        Success/failure message associated with the resource.
      • description

        public final String description()

        User defined description associated with the resource.

        Returns:
        User defined description associated with the resource.
      • metadata

        public final String metadata()

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

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

        public final 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.

        Returns:
        Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)