Interface DeleteBotRequest.Builder

    • Method Detail

      • botId

        DeleteBotRequest.Builder botId​(String botId)

        The identifier of the bot to delete.

        Parameters:
        botId - The identifier of the bot to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • skipResourceInUseCheck

        DeleteBotRequest.Builder skipResourceInUseCheck​(Boolean skipResourceInUseCheck)

        By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.

        Parameters:
        skipResourceInUseCheck - By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.