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$LATEST
version 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest.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 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
$LATEST
version of the bot. If you specify a checksum and the$LATEST
version of the bot has a different checksum, aPreconditionFailedException
exception is returned and Amazon Lex doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the$LATEST
version.- Parameters:
checksum
- Identifies a specific revision of the$LATEST
version of the bot. If you specify a checksum and the$LATEST
version of the bot has a different checksum, aPreconditionFailedException
exception is returned and Amazon Lex doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the$LATEST
version.- 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.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
CreateBotVersionRequest.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.
-