Interface CreatePresignedUrlRequest.Builder

    • Method Detail

      • instanceId

        CreatePresignedUrlRequest.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

        CreatePresignedUrlRequest.Builder cardId​(String cardId)

        The unique identifier of the card the file is associated with.

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

        CreatePresignedUrlRequest.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.
      • fileContentsSha256

        CreatePresignedUrlRequest.Builder fileContentsSha256​(String fileContentsSha256)

        The Base64-encoded SHA-256 digest of the contents of the file to be uploaded.

        Parameters:
        fileContentsSha256 - The Base64-encoded SHA-256 digest of the contents of the file to be uploaded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileName

        CreatePresignedUrlRequest.Builder fileName​(String fileName)

        The name of the file to be uploaded.

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

        CreatePresignedUrlRequest.Builder scope​(String scope)

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

        Parameters:
        scope - Whether the file is associated with a 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

        CreatePresignedUrlRequest.Builder scope​(DocumentScope scope)

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

        Parameters:
        scope - Whether the file is associated with a 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

        CreatePresignedUrlRequest.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.