public ListEnvironmentTemplateVersionsResult withTemplateVersions(java.util.Collection<EnvironmentTemplateVersionSummary> templateVersions) {
        setTemplateVersions(templateVersions);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ListEnvironmentTemplateVersionsResult.java