Interface UpdateSlotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSlotRequest.Builder,UpdateSlotRequest>,LexModelsV2Request.Builder,SdkBuilder<UpdateSlotRequest.Builder,UpdateSlotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSlotRequest
public static interface UpdateSlotRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<UpdateSlotRequest.Builder,UpdateSlotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSlotRequest.BuilderbotId(String botId)The unique identifier of the bot that contains the slot.UpdateSlotRequest.BuilderbotVersion(String botVersion)The version of the bot that contains the slot.UpdateSlotRequest.Builderdescription(String description)The new description for the slot.UpdateSlotRequest.BuilderintentId(String intentId)The identifier of the intent that contains the slot.UpdateSlotRequest.BuilderlocaleId(String localeId)The identifier of the language and locale that contains the slot.default UpdateSlotRequest.BuildermultipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)Determines whether the slot accepts multiple values in one response.UpdateSlotRequest.BuildermultipleValuesSetting(MultipleValuesSetting multipleValuesSetting)Determines whether the slot accepts multiple values in one response.default UpdateSlotRequest.BuilderobfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)New settings that determine how slot values are formatted in Amazon CloudWatch logs.UpdateSlotRequest.BuilderobfuscationSetting(ObfuscationSetting obfuscationSetting)New settings that determine how slot values are formatted in Amazon CloudWatch logs.UpdateSlotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSlotRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSlotRequest.BuilderslotId(String slotId)The unique identifier for the slot to update.UpdateSlotRequest.BuilderslotName(String slotName)The new name for the slot.UpdateSlotRequest.BuilderslotTypeId(String slotTypeId)The unique identifier of the new slot type to associate with this slot.default UpdateSlotRequest.BuildersubSlotSetting(Consumer<SubSlotSetting.Builder> subSlotSetting)Specifications for the constituent sub slots and the expression for the composite slot.UpdateSlotRequest.BuildersubSlotSetting(SubSlotSetting subSlotSetting)Specifications for the constituent sub slots and the expression for the composite slot.default UpdateSlotRequest.BuildervalueElicitationSetting(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.BuildervalueElicitationSetting(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.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
slotId
UpdateSlotRequest.Builder slotId(String slotId)
The unique identifier for the slot to update.
- Parameters:
slotId- The unique identifier for the slot to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotName
UpdateSlotRequest.Builder slotName(String slotName)
The new name for the slot.
- Parameters:
slotName- The new name for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateSlotRequest.Builder description(String description)
The new description for the slot.
- Parameters:
description- The new description for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeId
UpdateSlotRequest.Builder slotTypeId(String slotTypeId)
The unique identifier of the new slot type to associate with this slot.
- Parameters:
slotTypeId- The unique identifier of the new slot type to associate with this slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
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.
- Parameters:
valueElicitationSetting- A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
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.Builderavoiding the need to create one manually viaSlotValueElicitationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalueElicitationSetting(SlotValueElicitationSetting).- Parameters:
valueElicitationSetting- a consumer that will call methods onSlotValueElicitationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
valueElicitationSetting(SlotValueElicitationSetting)
-
obfuscationSetting
UpdateSlotRequest.Builder obfuscationSetting(ObfuscationSetting obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
- Parameters:
obfuscationSetting- New settings that determine how slot values are formatted in Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
obfuscationSetting
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.Builderavoiding the need to create one manually viaObfuscationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobfuscationSetting(ObfuscationSetting).- Parameters:
obfuscationSetting- a consumer that will call methods onObfuscationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
obfuscationSetting(ObfuscationSetting)
-
botId
UpdateSlotRequest.Builder botId(String botId)
The unique identifier of the bot that contains the slot.
- Parameters:
botId- The unique identifier of the bot that contains the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
UpdateSlotRequest.Builder botVersion(String botVersion)
The version of the bot that contains the slot. Must always be
DRAFT.- Parameters:
botVersion- The version of the bot that contains the slot. Must always beDRAFT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentId
UpdateSlotRequest.Builder intentId(String intentId)
The identifier of the intent that contains the slot.
- Parameters:
intentId- The identifier of the intent that contains the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multipleValuesSetting
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
truein any other locale, Amazon Lex throws aValidationException.If the
multipleValuesSettingis not set, the default value isfalse.- Parameters:
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 totruein any other locale, Amazon Lex throws aValidationException.If the
multipleValuesSettingis not set, the default value isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multipleValuesSetting
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
truein any other locale, Amazon Lex throws aValidationException.If the
This is a convenience method that creates an instance of themultipleValuesSettingis not set, the default value isfalse.MultipleValuesSetting.Builderavoiding the need to create one manually viaMultipleValuesSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultipleValuesSetting(MultipleValuesSetting).- Parameters:
multipleValuesSetting- a consumer that will call methods onMultipleValuesSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
multipleValuesSetting(MultipleValuesSetting)
-
subSlotSetting
UpdateSlotRequest.Builder subSlotSetting(SubSlotSetting subSlotSetting)
Specifications for the constituent sub slots and the expression for the composite slot.
- Parameters:
subSlotSetting- Specifications for the constituent sub slots and the expression for the composite slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subSlotSetting
default UpdateSlotRequest.Builder subSlotSetting(Consumer<SubSlotSetting.Builder> subSlotSetting)
Specifications for the constituent sub slots and the expression for the composite slot.
This is a convenience method that creates an instance of theSubSlotSetting.Builderavoiding the need to create one manually viaSubSlotSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubSlotSetting(SubSlotSetting).- Parameters:
subSlotSetting- a consumer that will call methods onSubSlotSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subSlotSetting(SubSlotSetting)
-
overrideConfiguration
UpdateSlotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSlotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-