public static interface CreateIntentVersionRequest.Builder extends LexModelBuildingRequest.Builder, CopyableBuilder<CreateIntentVersionRequest.Builder,CreateIntentVersionRequest>
Modifier and Type | Method and Description |
---|---|
CreateIntentVersionRequest.Builder |
checksum(String checksum)
Checksum of the
$LATEST version of the intent that should be used to create the new version. |
CreateIntentVersionRequest.Builder |
name(String name)
The name of the intent that you want to create a new version of.
|
CreateIntentVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateIntentVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateIntentVersionRequest.Builder name(String name)
The name of the intent that you want to create a new version of. The name is case sensitive.
name
- The name of the intent that you want to create a new version of. The name is case sensitive.CreateIntentVersionRequest.Builder checksum(String checksum)
Checksum of the $LATEST
version of the intent that should be used to create the new version. If
you specify a checksum and the $LATEST
version of the intent has a different checksum, Amazon
Lex returns a PreconditionFailedException
exception and doesn't publish a new version. If you
don't specify a checksum, Amazon Lex publishes the $LATEST
version.
checksum
- Checksum of the $LATEST
version of the intent that should be used to create the new
version. If you specify a checksum and the $LATEST
version of the intent has a different
checksum, Amazon Lex returns a PreconditionFailedException
exception and doesn't publish
a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST
version.CreateIntentVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateIntentVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.