public ListGroupResourcesResult withQueryErrors(java.util.Collection<QueryError> queryErrors) {
        setQueryErrors(queryErrors);
        return this;
    }
<p>
A list of <code>QueryError</code> objects. Each error contains an <code>ErrorCode</code> and <code>Message</code>
. Possible values for ErrorCode are <code>CLOUDFORMATION_STACK_INACTIVE</code>,
<code>CLOUDFORMATION_STACK_NOT_EXISTING</code>, <code>CLOUDFORMATION_STACK_UNASSUMABLE_ROLE</code> and
<code>RESOURCE_TYPE_NOT_SUPPORTED</code>.
</p>

@param queryErrors
       A list of <code>QueryError</code> objects. Each error contains an <code>ErrorCode</code> and
       <code>Message</code>. Possible values for ErrorCode are <code>CLOUDFORMATION_STACK_INACTIVE</code>,
       <code>CLOUDFORMATION_STACK_NOT_EXISTING</code>, <code>CLOUDFORMATION_STACK_UNASSUMABLE_ROLE</code> and
       <code>RESOURCE_TYPE_NOT_SUPPORTED</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resourcegroups/src/main/java/com/amazonaws/services/resourcegroups/model/ListGroupResourcesResult.java