Interface FailedAttachmentEvent.Builder

    • Method Detail

      • conversationId

        FailedAttachmentEvent.Builder conversationId​(String conversationId)

        The identifier of the conversation associated with the failed file upload.

        Parameters:
        conversationId - The identifier of the conversation associated with the failed file upload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userMessageId

        FailedAttachmentEvent.Builder userMessageId​(String userMessageId)

        The identifier of the end user chat message associated with the file upload.

        Parameters:
        userMessageId - The identifier of the end user chat message associated with the file upload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • systemMessageId

        FailedAttachmentEvent.Builder systemMessageId​(String systemMessageId)

        The identifier of the AI-generated message associated with the file upload.

        Parameters:
        systemMessageId - The identifier of the AI-generated message associated with the file upload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachment

        FailedAttachmentEvent.Builder attachment​(AttachmentOutput attachment)
        Sets the value of the Attachment property for this object.
        Parameters:
        attachment - The new value for the Attachment property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.