code: public void setBuckets(java.util.Collection<Bucket> buckets) {
          if (buckets == null) {
              this.buckets = null;
              return;
          }
  
          this.buckets = new com.amazonaws.internal.SdkInternalList<Bucket>(buckets);
      }
docs: <p>
  A list of the calculated facet values and counts.
  </p>
  
  @param buckets
  A list of the calculated facet values and counts.