Interface UpdateSlotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateSlotResponse.Builder,
,UpdateSlotResponse> LexModelsV2Response.Builder
,SdkBuilder<UpdateSlotResponse.Builder,
,UpdateSlotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateSlotResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the slot.botVersion
(String botVersion) The version of the bot that contains the slot.creationDateTime
(Instant creationDateTime) The timestamp of the date and time that the slot was created.description
(String description) The updated description of the bot.The intent that contains the slot.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The timestamp of the date and time that the slot was last updated.The locale that contains the slot.default UpdateSlotResponse.Builder
multipleValuesSetting
(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting) Indicates whether the slot accepts multiple values in one response.multipleValuesSetting
(MultipleValuesSetting multipleValuesSetting) Indicates whether the slot accepts multiple values in one response.default UpdateSlotResponse.Builder
obfuscationSetting
(Consumer<ObfuscationSetting.Builder> obfuscationSetting) The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.obfuscationSetting
(ObfuscationSetting obfuscationSetting) The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.The unique identifier of the slot that was updated.The updated name of the slot.slotTypeId
(String slotTypeId) The updated identifier of the slot type that provides values for the slot.default UpdateSlotResponse.Builder
subSlotSetting
(Consumer<SubSlotSetting.Builder> subSlotSetting) Specifications for the constituent sub slots and the expression for the composite slot.subSlotSetting
(SubSlotSetting subSlotSetting) Specifications for the constituent sub slots and the expression for the composite slot.default UpdateSlotResponse.Builder
valueElicitationSetting
(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting) The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.valueElicitationSetting
(SlotValueElicitationSetting valueElicitationSetting) The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
slotId
The unique identifier of the slot that was updated.
- Parameters:
slotId
- The unique identifier of the slot that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotName
The updated name of the slot.
- Parameters:
slotName
- The updated name of the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the bot.
- Parameters:
description
- The updated description of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeId
The updated identifier of the slot type that provides values for the slot.
- Parameters:
slotTypeId
- The updated identifier of the slot type that provides values for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
UpdateSlotResponse.Builder valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting) The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.
- Parameters:
valueElicitationSetting
- The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
default UpdateSlotResponse.Builder valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting) The updated prompts that Amazon Lex sends to the user to elicit a response that 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 viaSlotValueElicitationSetting.builder()
.When the
Consumer
completes,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:
-
obfuscationSetting
The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.
- Parameters:
obfuscationSetting
- The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
obfuscationSetting
default UpdateSlotResponse.Builder obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting) The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.
This is a convenience method that creates an instance of theObfuscationSetting.Builder
avoiding the need to create one manually viaObfuscationSetting.builder()
.When the
Consumer
completes,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:
-
botId
The identifier of the bot that contains the slot.
- Parameters:
botId
- The identifier of the bot that contains the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot that contains the slot. Will always be
DRAFT
.- Parameters:
botVersion
- The version of the bot that contains the slot. Will always beDRAFT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The locale that contains the slot.
- Parameters:
localeId
- The locale that contains the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentId
The intent that contains the slot.
- Parameters:
intentId
- The intent that contains the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
The timestamp of the date and time that the slot was created.
- Parameters:
creationDateTime
- The timestamp of the date and time that the slot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The timestamp of the date and time that the slot was last updated.
- Parameters:
lastUpdatedDateTime
- The timestamp of the date and time that the slot was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multipleValuesSetting
Indicates whether the slot accepts multiple values in one response.
- Parameters:
multipleValuesSetting
- Indicates whether the slot accepts multiple values in one response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multipleValuesSetting
default UpdateSlotResponse.Builder multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting) Indicates whether the slot accepts multiple values in one response.
This is a convenience method that creates an instance of theMultipleValuesSetting.Builder
avoiding the need to create one manually viaMultipleValuesSetting.builder()
.When the
Consumer
completes,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:
-
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
Specifications for the constituent sub slots and the expression for the composite slot.
This is a convenience method that creates an instance of theSubSlotSetting.Builder
avoiding the need to create one manually viaSubSlotSetting.builder()
.When the
Consumer
completes,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:
-