Interface ListDocumentsResponse.Builder

    • Method Detail

      • documentDetailList

        ListDocumentsResponse.Builder documentDetailList​(Collection<DocumentDetails> documentDetailList)

        A list of document details.

        Parameters:
        documentDetailList - A list of document details.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentDetailList

        ListDocumentsResponse.Builder documentDetailList​(DocumentDetails... documentDetailList)

        A list of document details.

        Parameters:
        documentDetailList - A list of document details.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListDocumentsResponse.Builder nextToken​(String nextToken)

        If the maxResults response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.

        Parameters:
        nextToken - If the maxResults response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.