Interface InvokeAssistantRequest.Builder

  • Method Details

    • 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

      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.
    • overrideConfiguration

      InvokeAssistantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.