public String getParentId() {
        return this.parentId;
    }
<p>
For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this
stack. For the first level of nested stacks, the root stack is also the parent stack.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html">Working with
Nested Stacks</a> in the <i>CloudFormation User Guide</i>.
</p>

@return For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of
        this stack. For the first level of nested stacks, the root stack is also the parent stack.</p>
        <p>
        For more information, see <a
        href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html"
        >Working with Nested Stacks</a> in the <i>CloudFormation User Guide</i>.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/StackSummary.java