public static interface UpdateSlotRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<UpdateSlotRequest.Builder,UpdateSlotRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateSlotRequest.Builder |
botId(String botId)
The unique identifier of the bot that contains the slot.
|
UpdateSlotRequest.Builder |
botVersion(String botVersion)
The version of the bot that contains the slot.
|
UpdateSlotRequest.Builder |
description(String description)
The new description for the slot.
|
UpdateSlotRequest.Builder |
intentId(String intentId)
The identifier of the intent that contains the slot.
|
UpdateSlotRequest.Builder |
localeId(String localeId)
The identifier of the language and locale that contains the slot.
|
default UpdateSlotRequest.Builder |
multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)
Determines whether the slot accepts multiple values in one response.
|
UpdateSlotRequest.Builder |
multipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Determines whether the slot accepts multiple values in one response.
|
default UpdateSlotRequest.Builder |
obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
|
UpdateSlotRequest.Builder |
obfuscationSetting(ObfuscationSetting obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
|
UpdateSlotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateSlotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateSlotRequest.Builder |
slotId(String slotId)
The unique identifier for the slot to update.
|
UpdateSlotRequest.Builder |
slotName(String slotName)
The new name for the slot.
|
UpdateSlotRequest.Builder |
slotTypeId(String slotTypeId)
The unique identifier of the new slot type to associate with this slot.
|
default UpdateSlotRequest.Builder |
valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting)
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the
slot.
|
UpdateSlotRequest.Builder |
valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the
slot.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateSlotRequest.Builder slotId(String slotId)
The unique identifier for the slot to update.
slotId - The unique identifier for the slot to update.UpdateSlotRequest.Builder slotName(String slotName)
The new name for the slot.
slotName - The new name for the slot.UpdateSlotRequest.Builder description(String description)
The new description for the slot.
description - The new description for the slot.UpdateSlotRequest.Builder slotTypeId(String slotTypeId)
The unique identifier of the new slot type to associate with this slot.
slotTypeId - The unique identifier of the new slot type to associate with this slot.UpdateSlotRequest.Builder valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
valueElicitationSetting - A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for
the slot.default UpdateSlotRequest.Builder valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting)
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
This is a convenience method 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)UpdateSlotRequest.Builder obfuscationSetting(ObfuscationSetting obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
obfuscationSetting - New settings that determine how slot values are formatted in Amazon CloudWatch logs.default UpdateSlotRequest.Builder obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
This is a convenience method 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)UpdateSlotRequest.Builder botId(String botId)
The unique identifier of the bot that contains the slot.
botId - The unique identifier of the bot that contains the slot.UpdateSlotRequest.Builder botVersion(String botVersion)
The version of the bot that contains the slot. Must always be DRAFT.
botVersion - The version of the bot that contains the slot. Must always be DRAFT.UpdateSlotRequest.Builder localeId(String localeId)
The identifier of the language and locale that contains the slot. The string must match one of the supported locales. For more information, see Supported languages.
localeId - The identifier of the language and locale that contains the slot. The string must match one of the
supported locales. For more information, see Supported languages.UpdateSlotRequest.Builder intentId(String intentId)
The identifier of the intent that contains the slot.
intentId - The identifier of the intent that contains the slot.UpdateSlotRequest.Builder multipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Determines whether the slot accepts multiple values in one response. Multiple 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 - Determines whether the slot accepts multiple values in one response. Multiple 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 UpdateSlotRequest.Builder multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)
Determines whether the slot accepts multiple values in one response. Multiple 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)UpdateSlotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateSlotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.