Class StopBotRecommendationResponse

    • Method Detail

      • botId

        public final String botId()

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

        Returns:
        The unique identifier of the bot containing the bot recommendation that is being stopped.
      • botVersion

        public final String botVersion()

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

        Returns:
        The version of the bot containing the recommendation that is being stopped.
      • localeId

        public final 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

        Returns:
        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
      • botRecommendationStatus

        public final 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.

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

        Returns:
        The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
        See Also:
        BotRecommendationStatus
      • botRecommendationStatusAsString

        public final String botRecommendationStatusAsString()

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

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

        Returns:
        The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
        See Also:
        BotRecommendationStatus
      • botRecommendationId

        public final String botRecommendationId()

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

        Returns:
        The unique identifier of the bot recommendation that is being stopped.
      • 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