public void setStackName(String stackName) {
        this.stackName = stackName;
    }
<p>
The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running
stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the
unique stack ID.
</p>
<p>
Conditional: You must specify only one of the following parameters: <code>StackName</code>,
<code>StackSetName</code>, <code>TemplateBody</code>, or <code>TemplateURL</code>.
</p>

@param stackName
       The name or the stack ID that's associated with the stack, which aren't always interchangeable. For
       running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you
       must specify the unique stack ID.</p>
       <p>
       Conditional: You must specify only one of the following parameters: <code>StackName</code>,
       <code>StackSetName</code>, <code>TemplateBody</code>, or <code>TemplateURL</code>.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/GetTemplateSummaryRequest.java