Interface ListKnowledgeBaseDocumentsResponse.Builder

    • Method Detail

      • documentDetails

        ListKnowledgeBaseDocumentsResponse.Builder documentDetails​(Collection<KnowledgeBaseDocumentDetail> documentDetails)

        A list of objects, each of which contains information about the documents that were retrieved.

        Parameters:
        documentDetails - A list of objects, each of which contains information about the documents that were retrieved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentDetails

        ListKnowledgeBaseDocumentsResponse.Builder documentDetails​(KnowledgeBaseDocumentDetail... documentDetails)

        A list of objects, each of which contains information about the documents that were retrieved.

        Parameters:
        documentDetails - A list of objects, each of which contains information about the documents that were retrieved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListKnowledgeBaseDocumentsResponse.Builder nextToken​(String nextToken)

        If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.

        Parameters:
        nextToken - If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.