code: public ListDatasetsResult withDatasets(Dataset... datasets) {
          if (this.datasets == null) {
              setDatasets(new com.amazonaws.internal.SdkInternalList<Dataset>(datasets.length));
          }
          for (Dataset ele : datasets) {
              this.datasets.add(ele);
          }
          return this;
      }
docs: A set of datasets.
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDatasets(java.util.Collection)} or {@link #withDatasets(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param datasets
  A set of datasets.
  @return Returns a reference to this object so that method calls can be chained together.