container/src/main/java/com/streamsets/datacollector/bundles/SupportBundleManager.java
public SupportBundle generateNewBundle(List<String> generators, BundleType bundleType) throws IOException {
    List<BundleContentGeneratorDefinition> defs = getRequestedDefinitions(generators);
    return generateNewBundleFromInstances(defs.stream().map(BundleContentGeneratorDefinition::createInstance).collect(Collectors.toList()), bundleType);
  }
public SupportBundle generateNewBundle(List<String> generators, BundleType bundleType) throws IOException {
    List<BundleContentGeneratorDefinition> defs = getRequestedDefinitions(generators);
    return generateNewBundleFromInstances(defs.stream().map(BundleContentGeneratorDefinition::createInstance).collect(Collectors.toList()), bundleType);
  }
Return InputStream from which a new generated resource bundle can be retrieved.