public static interface CreateBotVersionRequest.Builder extends LexModelBuildingRequest.Builder, CopyableBuilder<CreateBotVersionRequest.Builder,CreateBotVersionRequest>
Modifier and Type | Method and Description |
---|---|
CreateBotVersionRequest.Builder |
checksum(String checksum)
Identifies a specific revision of the
$LATEST version of the bot. |
CreateBotVersionRequest.Builder |
name(String name)
The name of the bot that you want to create a new version of.
|
CreateBotVersionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateBotVersionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
CreateBotVersionRequest.Builder name(String name)
The name of the bot that you want to create a new version of. The name is case sensitive.
name
- The name of the bot that you want to create a new version of. The name is case sensitive.CreateBotVersionRequest.Builder checksum(String 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, a
PreconditionFailedException
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.
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, a
PreconditionFailedException
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.CreateBotVersionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateBotVersionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.