public ListAnnotationStoreVersionsResult withAnnotationStoreVersions(AnnotationStoreVersionItem... annotationStoreVersions) {
        if (this.annotationStoreVersions == null) {
            setAnnotationStoreVersions(new java.util.ArrayList<AnnotationStoreVersionItem>(annotationStoreVersions.length));
        }
        for (AnnotationStoreVersionItem ele : annotationStoreVersions) {
            this.annotationStoreVersions.add(ele);
        }
        return this;
    }
<p>
Lists all versions of an annotation store.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAnnotationStoreVersions(java.util.Collection)} or
{@link #withAnnotationStoreVersions(java.util.Collection)} if you want to override the existing values.
</p>

@param annotationStoreVersions
       Lists all versions of an annotation store.
@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/ListAnnotationStoreVersionsResult.java