public void setCompatibleEnvironmentTemplates(java.util.Collection<CompatibleEnvironmentTemplateInput> compatibleEnvironmentTemplates) {
        if (compatibleEnvironmentTemplates == null) {
            this.compatibleEnvironmentTemplates = null;
            return;
        }

        this.compatibleEnvironmentTemplates = new java.util.ArrayList<CompatibleEnvironmentTemplateInput>(compatibleEnvironmentTemplates);
    }
<p>
An array of environment template objects that are compatible with the new service template version. A service
instance based on this service template version can run in environments based on compatible templates.
</p>

@param compatibleEnvironmentTemplates
       An array of environment template objects that are compatible with the new service template version. A
       service instance based on this service template version can run in environments based on compatible
       templates.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/CreateServiceTemplateVersionRequest.java