Interface BatchPutDocumentRequest.Builder

    • Method Detail

      • applicationId

        BatchPutDocumentRequest.Builder applicationId​(String applicationId)

        The identifier of the Amazon Q Business application.

        Parameters:
        applicationId - The identifier of the Amazon Q Business application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • indexId

        BatchPutDocumentRequest.Builder indexId​(String indexId)

        The identifier of the Amazon Q Business index to add the documents to.

        Parameters:
        indexId - The identifier of the Amazon Q Business index to add the documents to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documents

        BatchPutDocumentRequest.Builder documents​(Collection<Document> documents)

        One or more documents to add to the index.

        Parameters:
        documents - One or more documents to add to the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documents

        BatchPutDocumentRequest.Builder documents​(Document... documents)

        One or more documents to add to the index.

        Parameters:
        documents - One or more documents to add to the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        BatchPutDocumentRequest.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourceSyncId

        BatchPutDocumentRequest.Builder dataSourceSyncId​(String dataSourceSyncId)

        The identifier of the data source sync during which the documents were added.

        Parameters:
        dataSourceSyncId - The identifier of the data source sync during which the documents were added.
        Returns:
        Returns a reference to this object so that method calls can be chained together.