code: public DatasourceDependency build() {
          return new DatasourceDependency(name, description, type, subtype, datasources, criticality, expectations);
      }
docs: Builds a ServiceDependency instance.
  
  @return service dependency