code: func (a *BucketSelectorAggregation) AddBucketsPath(name, path string) *BucketSelectorAggregation {
  	if a.bucketsPathsMap == nil {
  		a.bucketsPathsMap = make(map[string]string)
  	}
  	a.bucketsPathsMap[name] = path
  	return a
  }
docs: // AddBucketsPath adds a bucket path to use for this pipeline aggregator.