Interface StopBotRecommendationResponse.Builder

    • Method Detail

      • botId

        StopBotRecommendationResponse.Builder botId​(String botId)

        The unique identifier of the bot containing the bot recommendation that is being stopped.

        Parameters:
        botId - The unique identifier of the bot containing the bot recommendation that is being stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botVersion

        StopBotRecommendationResponse.Builder botVersion​(String botVersion)

        The version of the bot containing the recommendation that is being stopped.

        Parameters:
        botVersion - The version of the bot containing the recommendation that is being stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeId

        StopBotRecommendationResponse.Builder localeId​(String localeId)

        The identifier of the language and locale of the bot response to stop. The string must match one of the supported locales. For more information, see Supported languages

        Parameters:
        localeId - The identifier of the language and locale of the bot response to stop. The string must match one of the supported locales. For more information, see Supported languages
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botRecommendationStatus

        StopBotRecommendationResponse.Builder botRecommendationStatus​(String botRecommendationStatus)

        The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.

        Parameters:
        botRecommendationStatus - The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BotRecommendationStatus, BotRecommendationStatus
      • botRecommendationStatus

        StopBotRecommendationResponse.Builder botRecommendationStatus​(BotRecommendationStatus botRecommendationStatus)

        The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.

        Parameters:
        botRecommendationStatus - The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BotRecommendationStatus, BotRecommendationStatus
      • botRecommendationId

        StopBotRecommendationResponse.Builder botRecommendationId​(String botRecommendationId)

        The unique identifier of the bot recommendation that is being stopped.

        Parameters:
        botRecommendationId - The unique identifier of the bot recommendation that is being stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.