Interface CreateBotVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBotVersionRequest.Builder,,CreateBotVersionRequest> LexModelBuildingRequest.Builder,SdkBuilder<CreateBotVersionRequest.Builder,,CreateBotVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateBotVersionRequest
public static interface CreateBotVersionRequest.Builder
extends LexModelBuildingRequest.Builder, SdkPojo, CopyableBuilder<CreateBotVersionRequest.Builder,CreateBotVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies a specific revision of the$LATESTversion of the bot.The name of the bot that you want to create a new version of.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.lexmodelbuilding.model.LexModelBuildingRequest.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
-
name
The name of the bot that you want to create a new version of. The name is case sensitive.
- Parameters:
name- The name of the bot that you want to create a new version of. The name is case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
Identifies a specific revision of the
$LATESTversion of the bot. If you specify a checksum and the$LATESTversion of the bot has a different checksum, aPreconditionFailedExceptionexception is returned and Amazon Lex doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the$LATESTversion.- Parameters:
checksum- Identifies a specific revision of the$LATESTversion of the bot. If you specify a checksum and the$LATESTversion of the bot has a different checksum, aPreconditionFailedExceptionexception is returned and Amazon Lex doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the$LATESTversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBotVersionRequest.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
CreateBotVersionRequest.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.
-