public void setStackErrors(java.util.Collection<StackError> stackErrors) {
        if (stackErrors == null) {
            this.stackErrors = null;
            return;
        }

        this.stackErrors = new java.util.ArrayList<StackError>(stackErrors);
    }
<p>
The errors for the stack.
</p>

@param stackErrors
       The errors for the stack.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/Stack.java