public static interface CreateSlotTypeVersionRequest.Builder extends LexModelBuildingRequest.Builder, CopyableBuilder<CreateSlotTypeVersionRequest.Builder,CreateSlotTypeVersionRequest>
Modifier and Type | Method and Description |
---|---|
CreateSlotTypeVersionRequest.Builder |
checksum(String checksum)
Checksum for the
$LATEST version of the slot type that you want to publish. |
CreateSlotTypeVersionRequest.Builder |
name(String name)
The name of the slot type that you want to create a new version for.
|
CreateSlotTypeVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateSlotTypeVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateSlotTypeVersionRequest.Builder name(String name)
The name of the slot type that you want to create a new version for. The name is case sensitive.
name
- The name of the slot type that you want to create a new version for. The name is case sensitive.CreateSlotTypeVersionRequest.Builder checksum(String checksum)
Checksum for the $LATEST
version of the slot type that you want to publish. If you specify a
checksum and the $LATEST
version of the slot type has a different checksum, Amazon Lex returns a
PreconditionFailedException
exception and doesn't publish the new version. If you don't specify
a checksum, Amazon Lex publishes the $LATEST
version.
checksum
- Checksum for the $LATEST
version of the slot type that you want to publish. If you
specify a checksum and the $LATEST
version of the slot type has a different checksum,
Amazon Lex returns a PreconditionFailedException
exception and doesn't publish the new
version. If you don't specify a checksum, Amazon Lex publishes the $LATEST
version.CreateSlotTypeVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateSlotTypeVersionRequest.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.