Interface UpdateSlotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateSlotResponse.Builder,UpdateSlotResponse>,LexModelsV2Response.Builder,SdkBuilder<UpdateSlotResponse.Builder,UpdateSlotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateSlotResponse
public static interface UpdateSlotResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateSlotResponse.Builder,UpdateSlotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSlotResponse.BuilderbotId(String botId)The identifier of the bot that contains the slot.UpdateSlotResponse.BuilderbotVersion(String botVersion)The version of the bot that contains the slot.UpdateSlotResponse.BuildercreationDateTime(Instant creationDateTime)The timestamp of the date and time that the slot was created.UpdateSlotResponse.Builderdescription(String description)The updated description of the bot.UpdateSlotResponse.BuilderintentId(String intentId)The intent that contains the slot.UpdateSlotResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The timestamp of the date and time that the slot was last updated.UpdateSlotResponse.BuilderlocaleId(String localeId)The locale that contains the slot.default UpdateSlotResponse.BuildermultipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)Indicates whether the slot accepts multiple values in one response.UpdateSlotResponse.BuildermultipleValuesSetting(MultipleValuesSetting multipleValuesSetting)Indicates whether the slot accepts multiple values in one response.default UpdateSlotResponse.BuilderobfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.UpdateSlotResponse.BuilderobfuscationSetting(ObfuscationSetting obfuscationSetting)The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.UpdateSlotResponse.BuilderslotId(String slotId)The unique identifier of the slot that was updated.UpdateSlotResponse.BuilderslotName(String slotName)The updated name of the slot.UpdateSlotResponse.BuilderslotTypeId(String slotTypeId)The updated identifier of the slot type that provides values for the slot.default UpdateSlotResponse.BuildersubSlotSetting(Consumer<SubSlotSetting.Builder> subSlotSetting)Specifications for the constituent sub slots and the expression for the composite slot.UpdateSlotResponse.BuildersubSlotSetting(SubSlotSetting subSlotSetting)Specifications for the constituent sub slots and the expression for the composite slot.default UpdateSlotResponse.BuildervalueElicitationSetting(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.UpdateSlotResponse.BuildervalueElicitationSetting(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 Detail
-
slotId
UpdateSlotResponse.Builder slotId(String 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
UpdateSlotResponse.Builder slotName(String 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
UpdateSlotResponse.Builder description(String 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
UpdateSlotResponse.Builder slotTypeId(String 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.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
UpdateSlotResponse.Builder obfuscationSetting(ObfuscationSetting 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.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
UpdateSlotResponse.Builder botId(String 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
UpdateSlotResponse.Builder botVersion(String 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
UpdateSlotResponse.Builder localeId(String 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
UpdateSlotResponse.Builder intentId(String 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
UpdateSlotResponse.Builder creationDateTime(Instant 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
UpdateSlotResponse.Builder lastUpdatedDateTime(Instant 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
UpdateSlotResponse.Builder multipleValuesSetting(MultipleValuesSetting 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.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
UpdateSlotResponse.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 UpdateSlotResponse.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)
-
-