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