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

# Interface DocumentCreateRequest.Builder

Enclosing class:
  `DocumentCreateRequest`

public static interface DocumentCreateRequest.Builder
Builder helper class.

- ## Method Summary

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

- ## Method Details

  - ### documents

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

  - ### documents

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