public DescribeStackResourcesRequest withStackName(String stackName) {
        setStackName(stackName);
        return this;
    }
<p>
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
</p>
<ul>
<li>
<p>
Running stacks: You can specify either the stack's name or its unique stack ID.
</p>
</li>
<li>
<p>
Deleted stacks: You must specify the unique stack ID.
</p>
</li>
</ul>
<p>
Default: There is no default value.
</p>
<p>
Required: Conditional. If you don't specify <code>StackName</code>, you must specify
<code>PhysicalResourceId</code>.
</p>

@param stackName
       The name or the unique stack ID that is associated with the stack, which aren't always
       interchangeable:</p>
       <ul>
       <li>
       <p>
       Running stacks: You can specify either the stack's name or its unique stack ID.
       </p>
       </li>
       <li>
       <p>
       Deleted stacks: You must specify the unique stack ID.
       </p>
       </li>
       </ul>
       <p>
       Default: There is no default value.
       </p>
       <p>
       Required: Conditional. If you don't specify <code>StackName</code>, you must specify
       <code>PhysicalResourceId</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackResourcesRequest.java