public QuerySchemaVersionMetadataRequest withMetadataList(MetadataKeyValuePair... metadataList) {
        if (this.metadataList == null) {
            setMetadataList(new java.util.ArrayList<MetadataKeyValuePair>(metadataList.length));
        }
        for (MetadataKeyValuePair ele : metadataList) {
            this.metadataList.add(ele);
        }
        return this;
    }
<p>
Search key-value pairs for metadata, if they are not provided all the metadata information will be fetched.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMetadataList(java.util.Collection)} or {@link #withMetadataList(java.util.Collection)} if you want to
override the existing values.
</p>

@param metadataList
       Search key-value pairs for metadata, if they are not provided all the metadata information will be
       fetched.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/QuerySchemaVersionMetadataRequest.java