public UpdateKxDataviewResult withActiveVersions(KxDataviewActiveVersion... activeVersions) {
        if (this.activeVersions == null) {
            setActiveVersions(new java.util.ArrayList<KxDataviewActiveVersion>(activeVersions.length));
        }
        for (KxDataviewActiveVersion ele : activeVersions) {
            this.activeVersions.add(ele);
        }
        return this;
    }
<p>
The current active changeset versions of the database on the given dataview.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setActiveVersions(java.util.Collection)} or {@link #withActiveVersions(java.util.Collection)} if you want
to override the existing values.
</p>

@param activeVersions
       The current active changeset versions of the database on the given dataview.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/UpdateKxDataviewResult.java