public DescribeEngineVersionsResult withEngineVersions(EngineVersion... engineVersions) {
        if (this.engineVersions == null) {
            setEngineVersions(new java.util.ArrayList<EngineVersion>(engineVersions.length));
        }
        for (EngineVersion ele : engineVersions) {
            this.engineVersions.add(ele);
        }
        return this;
    }
<p>
Returned <code>EngineVersion</code> objects that describe the replication instance engine versions used in the
project.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEngineVersions(java.util.Collection)} or {@link #withEngineVersions(java.util.Collection)} if you want
to override the existing values.
</p>

@param engineVersions
       Returned <code>EngineVersion</code> objects that describe the replication instance engine versions used in
       the project.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/DescribeEngineVersionsResult.java