public StackEvent withStackName(String stackName) {
        setStackName(stackName);
        return this;
    }
<p>
The name associated with a stack.
</p>

@param stackName
       The name associated with a stack.
@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/StackEvent.java