public Heterogeneous withTargetDatabaseEngine(HeterogeneousTargetDatabaseEngine... targetDatabaseEngine) {
        java.util.ArrayList<String> targetDatabaseEngineCopy = new java.util.ArrayList<String>(targetDatabaseEngine.length);
        for (HeterogeneousTargetDatabaseEngine value : targetDatabaseEngine) {
            targetDatabaseEngineCopy.add(value.toString());
        }
        if (getTargetDatabaseEngine() == null) {
            setTargetDatabaseEngine(targetDatabaseEngineCopy);
        } else {
            getTargetDatabaseEngine().addAll(targetDatabaseEngineCopy);
        }
        return this;
    }
<p>
The target database engine for heterogeneous database migration preference.
</p>

@param targetDatabaseEngine
       The target database engine for heterogeneous database migration preference.
@return Returns a reference to this object so that method calls can be chained together.
@see HeterogeneousTargetDatabaseEngine
aws-java-sdk-migrationhubstrategyrecommendations/src/main/java/com/amazonaws/services/migrationhubstrategyrecommendations/model/Heterogeneous.java