Class MetadataEvent.BuilderImpl

    • Constructor Detail

      • BuilderImpl

        protected BuilderImpl()
    • Method Detail

      • getConversationId

        public final String getConversationId()
      • setConversationId

        public final void setConversationId​(String conversationId)
      • conversationId

        public final MetadataEvent.Builder conversationId​(String conversationId)
        Description copied from interface: MetadataEvent.Builder

        The identifier of the conversation with which the generated metadata is associated.

        Specified by:
        conversationId in interface MetadataEvent.Builder
        Parameters:
        conversationId - The identifier of the conversation with which the generated metadata is associated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getUserMessageId

        public final String getUserMessageId()
      • setUserMessageId

        public final void setUserMessageId​(String userMessageId)
      • userMessageId

        public final MetadataEvent.Builder userMessageId​(String userMessageId)
        Description copied from interface: MetadataEvent.Builder

        The identifier of an Amazon Q Business end user text input message within the conversation.

        Specified by:
        userMessageId in interface MetadataEvent.Builder
        Parameters:
        userMessageId - The identifier of an Amazon Q Business end user text input message within the conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSystemMessageId

        public final String getSystemMessageId()
      • setSystemMessageId

        public final void setSystemMessageId​(String systemMessageId)
      • systemMessageId

        public final MetadataEvent.Builder systemMessageId​(String systemMessageId)
        Description copied from interface: MetadataEvent.Builder

        The identifier of an Amazon Q Business AI generated message within the conversation.

        Specified by:
        systemMessageId in interface MetadataEvent.Builder
        Parameters:
        systemMessageId - The identifier of an Amazon Q Business AI generated message within the conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceAttributions

        public final void setSourceAttributions​(Collection<software.amazon.awssdk.services.qbusiness.model.SourceAttribution.BuilderImpl> sourceAttributions)
      • getFinalTextMessage

        public final String getFinalTextMessage()
      • setFinalTextMessage

        public final void setFinalTextMessage​(String finalTextMessage)
      • finalTextMessage

        public final MetadataEvent.Builder finalTextMessage​(String finalTextMessage)
        Description copied from interface: MetadataEvent.Builder

        The final text output message generated by the system.

        Specified by:
        finalTextMessage in interface MetadataEvent.Builder
        Parameters:
        finalTextMessage - The final text output message generated by the system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.