public Stack withStackErrors(java.util.Collection<StackError> stackErrors) {
        setStackErrors(stackErrors);
        return this;
    }
<p>
The errors for the stack.
</p>

@param stackErrors
       The errors for the stack.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/Stack.java