Interface ChatSyncRequest.Builder

    • Method Detail

      • actionExecution

        ChatSyncRequest.Builder actionExecution​(ActionExecution actionExecution)

        A request from an end user to perform an Amazon Q plugin action.

        Parameters:
        actionExecution - A request from an end user to perform an Amazon Q plugin action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • applicationId

        ChatSyncRequest.Builder applicationId​(String applicationId)

        The identifier of the Amazon Q application linked to the Amazon Q conversation.

        Parameters:
        applicationId - The identifier of the Amazon Q application linked to the Amazon Q conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachments

        ChatSyncRequest.Builder attachments​(Collection<AttachmentInput> attachments)

        A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.

        Parameters:
        attachments - A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachments

        ChatSyncRequest.Builder attachments​(AttachmentInput... attachments)

        A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.

        Parameters:
        attachments - A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributeFilter

        ChatSyncRequest.Builder attributeFilter​(AttributeFilter attributeFilter)

        Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.

        Parameters:
        attributeFilter - Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        ChatSyncRequest.Builder clientToken​(String clientToken)

        A token that you provide to identify a chat request.

        Parameters:
        clientToken - A token that you provide to identify a chat request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conversationId

        ChatSyncRequest.Builder conversationId​(String conversationId)

        The identifier of the Amazon Q conversation.

        Parameters:
        conversationId - The identifier of the Amazon Q conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentMessageId

        ChatSyncRequest.Builder parentMessageId​(String parentMessageId)

        The identifier of the previous end user text input message in a conversation.

        Parameters:
        parentMessageId - The identifier of the previous end user text input message in a conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userGroups

        ChatSyncRequest.Builder userGroups​(Collection<String> userGroups)

        The groups that a user associated with the chat input belongs to.

        Parameters:
        userGroups - The groups that a user associated with the chat input belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userGroups

        ChatSyncRequest.Builder userGroups​(String... userGroups)

        The groups that a user associated with the chat input belongs to.

        Parameters:
        userGroups - The groups that a user associated with the chat input belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        ChatSyncRequest.Builder userId​(String userId)

        The identifier of the user attached to the chat input.

        Parameters:
        userId - The identifier of the user attached to the chat input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userMessage

        ChatSyncRequest.Builder userMessage​(String userMessage)

        A end user message in a conversation.

        Parameters:
        userMessage - A end user message in a conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.