public void setEngineVersions(java.util.Collection<EngineVersionInfo> engineVersions) {
        if (engineVersions == null) {
            this.engineVersions = null;
            return;
        }

        this.engineVersions = new java.util.ArrayList<EngineVersionInfo>(engineVersions);
    }
<p>
A list of engine version details. Each element in the list contains detailed information about one engine
version.
</p>

@param engineVersions
       A list of engine version details. Each element in the list contains detailed information about one engine
       version.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/DescribeEngineVersionsResult.java