Interface DeleteBotVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteBotVersionRequest.Builder,
,DeleteBotVersionRequest> LexModelsV2Request.Builder
,SdkBuilder<DeleteBotVersionRequest.Builder,
,DeleteBotVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteBotVersionRequest
@Mutable
@NotThreadSafe
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 aResourceInUseException
exception if the version is being used by another resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
ResourceInUseException
exception if the version is being used by another resource. Set this parameter totrue
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 aResourceInUseException
exception if the version is being used by another resource. Set this parameter totrue
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 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-