public ListReferencesResult withReferences(ReferenceListItem... references) {
        if (this.references == null) {
            setReferences(new java.util.ArrayList<ReferenceListItem>(references.length));
        }
        for (ReferenceListItem ele : references) {
            this.references.add(ele);
        }
        return this;
    }
<p>
A list of references.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReferences(java.util.Collection)} or {@link #withReferences(java.util.Collection)} if you want to
override the existing values.
</p>

@param references
       A list of references.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-omics/src/main/java/com/amazonaws/services/omics/model/ListReferencesResult.java