Interface DeleteBotVersionRequest.Builder

    • Method Detail

      • botId

        DeleteBotVersionRequest.Builder botId​(String botId)

        The identifier of the bot that contains the version.

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

        DeleteBotVersionRequest.Builder botVersion​(String botVersion)

        The version of the bot to delete.

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

        DeleteBotVersionRequest.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 version is being used by another resource. Set this parameter to true to skip this check and remove the version 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 version is being used by another resource. Set this parameter to true to skip this check and remove the version even if it is being used by another resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.