code: public static DatasourceDependencyBuilder mongoDependency(final List<Datasource> datasources) {
          return new DatasourceDependencyBuilder()
                  .withDatasources(datasources)
                  .withType(DatasourceDependency.TYPE_DB)
                  .withSubtype(DatasourceDependency.SUBTYPE_MONGODB);
      }
docs: Creates a ServiceDependencyBuilder with type="db" and subtype="MongoDB".
  
  @param datasources the datasources of the accessed database.
  @return builder used to configure MongoDB datasource dependencies