Interface DeleteBotVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteBotVersionRequest.Builder,,DeleteBotVersionRequest> LexModelsV2Request.Builder,SdkBuilder<DeleteBotVersionRequest.Builder,,DeleteBotVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteBotVersionRequest
public static interface DeleteBotVersionRequest.Builder
extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<DeleteBotVersionRequest.Builder,DeleteBotVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the version.botVersion(String botVersion) The version of the bot to delete.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 aResourceInUseExceptionexception if the version is being used by another resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
ResourceInUseExceptionexception if the version is being used by another resource. Set this parameter totrueto 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 aResourceInUseExceptionexception if the version is being used by another resource. Set this parameter totrueto 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteBotVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-