public ListGroupResourcesResult withQueryErrors(QueryError... queryErrors) {
        if (this.queryErrors == null) {
            setQueryErrors(new java.util.ArrayList<QueryError>(queryErrors.length));
        }
        for (QueryError ele : queryErrors) {
            this.queryErrors.add(ele);
        }
        return this;
    }
public ListGroupResourcesResult withQueryErrors ( QueryError ... queryErrors ) { if ( this . queryErrors == null ) { setQueryErrors ( new java . util . ArrayList < QueryError > ( queryErrors . length ) ) ; } for ( QueryError ele : queryErrors ) { this . queryErrors . add ( ele ) ; } return this ; }
<p>
A list of <code>QueryError</code> objects. Each error is an object that contains <code>ErrorCode</code> and
<code>Message</code> structures. Possible values for <code>ErrorCode</code> are
<code>CLOUDFORMATION_STACK_INACTIVE</code> and <code>CLOUDFORMATION_STACK_NOT_EXISTING</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQueryErrors(java.util.Collection)} or {@link #withQueryErrors(java.util.Collection)} if you want to
override the existing values.
</p>

@param queryErrors
A list of <code>QueryError</code> objects. Each error is an object that contains <code>ErrorCode</code>
and <code>Message</code> structures. Possible values for <code>ErrorCode</code> are
<code>CLOUDFORMATION_STACK_INACTIVE</code> and <code>CLOUDFORMATION_STACK_NOT_EXISTING</code>.
@return Returns a reference to this object so that method calls can be chained together.