Class SendMessageRequest

    • Method Detail

      • assistantId

        public final String assistantId()

        The identifier of the Amazon Q in Connect assistant.

        Returns:
        The identifier of the Amazon Q in Connect assistant.
      • clientToken

        public final String clientToken()

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the AWS SDK populates this field.For more information about idempotency, see Making retries safe with idempotent APIs.

        Returns:
        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the AWS SDK populates this field.For more information about idempotency, see Making retries safe with idempotent APIs.
      • conversationContext

        public final ConversationContext conversationContext()

        The conversation context before the Amazon Q in Connect session.

        Returns:
        The conversation context before the Amazon Q in Connect session.
      • message

        public final MessageInput message()

        The message data to submit to the Amazon Q in Connect session.

        Returns:
        The message data to submit to the Amazon Q in Connect session.
      • sessionId

        public final String sessionId()

        The identifier of the Amazon Q in Connect session.

        Returns:
        The identifier of the Amazon Q in Connect session.
      • typeAsString

        public final String typeAsString()

        The message type.

        If the service returns an enum value that is not available in the current SDK version, type will return MessageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The message type.
        See Also:
        MessageType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object