public ListStoredQueriesResult withStoredQueryMetadata(StoredQueryMetadata... storedQueryMetadata) {
        if (this.storedQueryMetadata == null) {
            setStoredQueryMetadata(new com.amazonaws.internal.SdkInternalList<StoredQueryMetadata>(storedQueryMetadata.length));
        }
        for (StoredQueryMetadata ele : storedQueryMetadata) {
            this.storedQueryMetadata.add(ele);
        }
        return this;
    }
<p>
A list of <code>StoredQueryMetadata</code> objects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStoredQueryMetadata(java.util.Collection)} or {@link #withStoredQueryMetadata(java.util.Collection)}
if you want to override the existing values.
</p>

@param storedQueryMetadata
       A list of <code>StoredQueryMetadata</code> objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/ListStoredQueriesResult.java