Interface DeleteBotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteBotRequest.Builder,DeleteBotRequest>,LexModelsV2Request.Builder,SdkBuilder<DeleteBotRequest.Builder,DeleteBotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteBotRequest
public static interface DeleteBotRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<DeleteBotRequest.Builder,DeleteBotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteBotRequest.BuilderbotId(String botId)The identifier of the bot to delete.DeleteBotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteBotRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteBotRequest.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 bot 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
DeleteBotRequest.Builder botId(String botId)
The identifier of the bot to delete.
- Parameters:
botId- The identifier of the bot to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skipResourceInUseCheck
DeleteBotRequest.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 bot is being used by another resource. Set this parameter totrueto skip this check and remove the bot 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 bot is being used by another resource. Set this parameter totrueto skip this check and remove the bot 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
DeleteBotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteBotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-