public void setTemplateVersions(java.util.Collection<EnvironmentTemplateVersionSummary> templateVersions) {
        if (templateVersions == null) {
            this.templateVersions = null;
            return;
        }

        this.templateVersions = new java.util.ArrayList<EnvironmentTemplateVersionSummary>(templateVersions);
    }
<p>
An array of major or minor versions of an environment template detail data.
</p>

@param templateVersions
       An array of major or minor versions of an environment template detail data.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ListEnvironmentTemplateVersionsResult.java