Package com.sap.ai.sdk.grounding.model

# Interface DataRepositoryWithDocuments.Builder2

Enclosing class:
  `DataRepositoryWithDocuments`

public static interface DataRepositoryWithDocuments.Builder2
Builder helper class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default DataRepositoryWithDocuments`
  `documents(Document... documents)`
  Set the documents of this `DataRepositoryWithDocuments` instance.
  `DataRepositoryWithDocuments`
  `documents(List<Document> documents)`
  Set the documents of this `DataRepositoryWithDocuments` instance.

- ## Method Details

  - ### documents

    DataRepositoryWithDocuments documents(@Nonnull List<Document> documents)
    Set the documents of this `DataRepositoryWithDocuments` instance.
    Parameters:
      `documents` - The documents of this `DataRepositoryWithDocuments`
    Returns:
      The DataRepositoryWithDocuments instance.

  - ### documents

    default DataRepositoryWithDocuments documents(@Nonnull Document... documents)
    Set the documents of this `DataRepositoryWithDocuments` instance.
    Parameters:
      `documents` - The documents of this `DataRepositoryWithDocuments`
    Returns:
      The DataRepositoryWithDocuments instance.