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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteBotVersionRequest.BuilderbotId(String botId)The identifier of the bot that contains the version.DeleteBotVersionRequest.BuilderbotVersion(String botVersion)The version of the bot to delete.DeleteBotVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteBotVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteBotVersionRequest.BuilderskipResourceInUseCheck(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
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, sdkFields
-
-
-
-
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
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteBotVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-