Interface ImportDocumentRequest.Builder

    • Method Detail

      • instanceId

        ImportDocumentRequest.Builder instanceId​(String instanceId)

        The unique identifier of the Amazon Q Business application environment instance.

        Parameters:
        instanceId - The unique identifier of the Amazon Q Business application environment instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cardId

        ImportDocumentRequest.Builder cardId​(String cardId)

        The unique identifier of the card the file is associated with, if applicable.

        Parameters:
        cardId - The unique identifier of the card the file is associated with, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • appId

        ImportDocumentRequest.Builder appId​(String appId)

        The unique identifier of the Q App the file is associated with.

        Parameters:
        appId - The unique identifier of the Q App the file is associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileContentsBase64

        ImportDocumentRequest.Builder fileContentsBase64​(String fileContentsBase64)

        The base64-encoded contents of the file to upload.

        Parameters:
        fileContentsBase64 - The base64-encoded contents of the file to upload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileName

        ImportDocumentRequest.Builder fileName​(String fileName)

        The name of the file being uploaded.

        Parameters:
        fileName - The name of the file being uploaded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scope

        ImportDocumentRequest.Builder scope​(String scope)

        Whether the file is associated with an Q App definition or a specific Q App session.

        Parameters:
        scope - Whether the file is associated with an Q App definition or a specific Q App session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DocumentScope, DocumentScope
      • scope

        ImportDocumentRequest.Builder scope​(DocumentScope scope)

        Whether the file is associated with an Q App definition or a specific Q App session.

        Parameters:
        scope - Whether the file is associated with an Q App definition or a specific Q App session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DocumentScope, DocumentScope
      • sessionId

        ImportDocumentRequest.Builder sessionId​(String sessionId)

        The unique identifier of the Q App session the file is associated with, if applicable.

        Parameters:
        sessionId - The unique identifier of the Q App session the file is associated with, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.