public DescribeQueriesResult withQueries(QueryInfo... queries) {
        if (this.queries == null) {
            setQueries(new com.amazonaws.internal.SdkInternalList<QueryInfo>(queries.length));
        }
        for (QueryInfo ele : queries) {
            this.queries.add(ele);
        }
        return this;
    }
public DescribeQueriesResult withQueries ( QueryInfo ... queries ) { if ( this . queries == null ) { setQueries ( new com . amazonaws . internal . SdkInternalList < QueryInfo > ( queries . length ) ) ; } for ( QueryInfo ele : queries ) { this . queries . add ( ele ) ; } return this ; }
<p>
The list of queries that match the request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQueries(java.util.Collection)} or {@link #withQueries(java.util.Collection)} if you want to override
the existing values.
</p>

@param queries
The list of queries that match the request.
@return Returns a reference to this object so that method calls can be chained together.