public static interface CreateSlotRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<CreateSlotRequest.Builder,CreateSlotRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSlotRequest.Builder |
botId(String botId)
The identifier of the bot associated with the slot.
|
CreateSlotRequest.Builder |
botVersion(String botVersion)
The version of the bot associated with the slot.
|
CreateSlotRequest.Builder |
description(String description)
A description of the slot.
|
CreateSlotRequest.Builder |
intentId(String intentId)
The identifier of the intent that contains the slot.
|
CreateSlotRequest.Builder |
localeId(String localeId)
The identifier of the language and locale that the slot will be used in.
|
default CreateSlotRequest.Builder |
multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)
Indicates whether the slot returns multiple values in one response.
|
CreateSlotRequest.Builder |
multipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Indicates whether the slot returns multiple values in one response.
|
default CreateSlotRequest.Builder |
obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)
Determines how slot values are used in Amazon CloudWatch logs.
|
CreateSlotRequest.Builder |
obfuscationSetting(ObfuscationSetting obfuscationSetting)
Determines how slot values are used in Amazon CloudWatch logs.
|
CreateSlotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSlotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSlotRequest.Builder |
slotName(String slotName)
The name of the slot.
|
CreateSlotRequest.Builder |
slotTypeId(String slotTypeId)
The unique identifier for the slot type associated with this slot.
|
default CreateSlotRequest.Builder |
valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting)
Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the
slot.
|
CreateSlotRequest.Builder |
valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the
slot.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSlotRequest.Builder slotName(String slotName)
The name of the slot. Slot names must be unique within the bot that contains the slot.
slotName - The name of the slot. Slot names must be unique within the bot that contains the slot.CreateSlotRequest.Builder description(String description)
A description of the slot. Use this to help identify the slot in lists.
description - A description of the slot. Use this to help identify the slot in lists.CreateSlotRequest.Builder slotTypeId(String slotTypeId)
The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot.
slotTypeId - The unique identifier for the slot type associated with this slot. The slot type determines the values
that can be entered into the slot.CreateSlotRequest.Builder valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot.
valueElicitationSetting - Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for
the slot.default CreateSlotRequest.Builder valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting)
Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot.
This is a convenience that creates an instance of theSlotValueElicitationSetting.Builder avoiding
the need to create one manually via SlotValueElicitationSetting.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to valueElicitationSetting(SlotValueElicitationSetting).valueElicitationSetting - a consumer that will call methods on SlotValueElicitationSetting.BuildervalueElicitationSetting(SlotValueElicitationSetting)CreateSlotRequest.Builder obfuscationSetting(ObfuscationSetting obfuscationSetting)
Determines how slot values are used in Amazon CloudWatch logs. If the value of the
obfuscationSetting parameter is DefaultObfuscation, slot values are obfuscated in
the log output. If the value is None, the actual value is present in the log output.
The default is to obfuscate values in the CloudWatch logs.
obfuscationSetting - Determines how slot values are used in Amazon CloudWatch logs. If the value of the
obfuscationSetting parameter is DefaultObfuscation, slot values are
obfuscated in the log output. If the value is None, the actual value is present in the
log output.
The default is to obfuscate values in the CloudWatch logs.
default CreateSlotRequest.Builder obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)
Determines how slot values are used in Amazon CloudWatch logs. If the value of the
obfuscationSetting parameter is DefaultObfuscation, slot values are obfuscated in
the log output. If the value is None, the actual value is present in the log output.
The default is to obfuscate values in the CloudWatch logs.
This is a convenience that creates an instance of theObfuscationSetting.Builder avoiding the need to
create one manually via ObfuscationSetting.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to obfuscationSetting(ObfuscationSetting).obfuscationSetting - a consumer that will call methods on ObfuscationSetting.BuilderobfuscationSetting(ObfuscationSetting)CreateSlotRequest.Builder botId(String botId)
The identifier of the bot associated with the slot.
botId - The identifier of the bot associated with the slot.CreateSlotRequest.Builder botVersion(String botVersion)
The version of the bot associated with the slot.
botVersion - The version of the bot associated with the slot.CreateSlotRequest.Builder localeId(String localeId)
The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the bots, intents, slot types used by the slot must have the same locale. For more information, see Supported languages.
localeId - The identifier of the language and locale that the slot will be used in. The string must match one of
the supported locales. All of the bots, intents, slot types used by the slot must have the same
locale. For more information, see Supported languages.CreateSlotRequest.Builder intentId(String intentId)
The identifier of the intent that contains the slot.
intentId - The identifier of the intent that contains the slot.CreateSlotRequest.Builder multipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Indicates whether the slot returns multiple values in one response. Multi-value slots are only available in
the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a
ValidationException.
If the multipleValuesSetting is not set, the default value is false.
multipleValuesSetting - Indicates whether the slot returns multiple values in one response. Multi-value slots are only
available in the en-US locale. If you set this value to true in any other locale, Amazon
Lex throws a ValidationException.
If the multipleValuesSetting is not set, the default value is false.
default CreateSlotRequest.Builder multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)
Indicates whether the slot returns multiple values in one response. Multi-value slots are only available in
the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a
ValidationException.
If the multipleValuesSetting is not set, the default value is false.
MultipleValuesSetting.Builder avoiding the need
to create one manually via MultipleValuesSetting.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to multipleValuesSetting(MultipleValuesSetting).multipleValuesSetting - a consumer that will call methods on MultipleValuesSetting.BuildermultipleValuesSetting(MultipleValuesSetting)CreateSlotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSlotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.