public BatchDeleteTableVersionRequest withVersionIds(String... versionIds) {
        if (this.versionIds == null) {
            setVersionIds(new java.util.ArrayList<String>(versionIds.length));
        }
        for (String ele : versionIds) {
            this.versionIds.add(ele);
        }
        return this;
    }
<p>
A list of the IDs of versions to be deleted. A <code>VersionId</code> is a string representation of an integer.
Each version is incremented by 1.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setVersionIds(java.util.Collection)} or {@link #withVersionIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param versionIds
       A list of the IDs of versions to be deleted. A <code>VersionId</code> is a string representation of an
       integer. Each version is incremented by 1.
@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/BatchDeleteTableVersionRequest.java