Interface InvokeAssistantRequest.Builder

    • Method Detail

      • conversationId

        InvokeAssistantRequest.Builder conversationId​(String conversationId)

        The ID assigned to a conversation. IoT SiteWise automatically generates a unique ID for you, and this parameter is never required. However, if you prefer to have your own ID, you must specify it here in UUID format. If you specify your own ID, it must be globally unique.

        Parameters:
        conversationId - The ID assigned to a conversation. IoT SiteWise automatically generates a unique ID for you, and this parameter is never required. However, if you prefer to have your own ID, you must specify it here in UUID format. If you specify your own ID, it must be globally unique.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        InvokeAssistantRequest.Builder message​(String message)

        A text message sent to the SiteWise Assistant by the user.

        Parameters:
        message - A text message sent to the SiteWise Assistant by the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableTrace

        InvokeAssistantRequest.Builder enableTrace​(Boolean enableTrace)

        Specifies if to turn trace on or not. It is used to track the SiteWise Assistant's reasoning, and data access process.

        Parameters:
        enableTrace - Specifies if to turn trace on or not. It is used to track the SiteWise Assistant's reasoning, and data access process.
        Returns:
        Returns a reference to this object so that method calls can be chained together.