Interface DeleteBotVersionRequest.Builder

  • Method Details

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

      DeleteBotVersionRequest.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.