Interface DescribeSlotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSlotResponse.Builder,,DescribeSlotResponse> LexModelsV2Response.Builder,SdkBuilder<DescribeSlotResponse.Builder,,DescribeSlotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeSlotResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot associated with the slot.botVersion(String botVersion) The version of the bot associated with the slot.creationDateTime(Instant creationDateTime) A timestamp of the date and time that the slot was created.description(String description) The description specified for the slot.The identifier of the intent associated with the slot.lastUpdatedDateTime(Instant lastUpdatedDateTime) A timestamp of the date and time that the slot was last updated.The language and locale specified for the slot.default DescribeSlotResponse.BuildermultipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting) Indicates whether the slot accepts multiple values in a single utterance.multipleValuesSetting(MultipleValuesSetting multipleValuesSetting) Indicates whether the slot accepts multiple values in a single utterance.default DescribeSlotResponse.BuilderobfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting) Whether slot values are shown in Amazon CloudWatch logs.obfuscationSetting(ObfuscationSetting obfuscationSetting) Whether slot values are shown in Amazon CloudWatch logs.The unique identifier generated for the slot.The name specified for the slot.slotTypeId(String slotTypeId) The identifier of the slot type that determines the values entered into the slot.default DescribeSlotResponse.BuildersubSlotSetting(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 DescribeSlotResponse.BuildervalueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting) Prompts that Amazon Lex uses to elicit a value for the slot.valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting) Prompts that Amazon Lex uses to elicit a value for the slot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
slotId
The unique identifier generated for the slot.
- Parameters:
slotId- The unique identifier generated for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotName
The name specified for the slot.
- Parameters:
slotName- The name specified for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description specified for the slot.
- Parameters:
description- The description specified for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeId
The identifier of the slot type that determines the values entered into the slot.
- Parameters:
slotTypeId- The identifier of the slot type that determines the values entered into the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
DescribeSlotResponse.Builder valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting) Prompts that Amazon Lex uses to elicit a value for the slot.
- Parameters:
valueElicitationSetting- Prompts that Amazon Lex uses to elicit a value for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
default DescribeSlotResponse.Builder valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting) Prompts that Amazon Lex uses to elicit 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:
-
obfuscationSetting
Whether slot values are shown in Amazon CloudWatch logs. If the value is
None, the actual value of the slot is shown in logs.- Parameters:
obfuscationSetting- Whether slot values are shown in Amazon CloudWatch logs. If the value isNone, the actual value of the slot is shown in logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
obfuscationSetting
default DescribeSlotResponse.Builder obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting) Whether slot values are shown in Amazon CloudWatch logs. If the value is
This is a convenience method that creates an instance of theNone, the actual value of the slot is shown in logs.ObfuscationSetting.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:
-
botId
The identifier of the bot associated with the slot.
- Parameters:
botId- The identifier of the bot associated with the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot associated with the slot.
- Parameters:
botVersion- The version of the bot associated with the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The language and locale specified for the slot.
- Parameters:
localeId- The language and locale specified for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentId
The identifier of the intent associated with the slot.
- Parameters:
intentId- The identifier of the intent associated with the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
A timestamp of the date and time that the slot was created.
- Parameters:
creationDateTime- A 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
A timestamp of the date and time that the slot was last updated.
- Parameters:
lastUpdatedDateTime- A 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 a single utterance.
If the
multipleValuesSettingis not set, the default value isfalse.- Parameters:
multipleValuesSetting- Indicates whether the slot accepts multiple values in a single utterance.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 DescribeSlotResponse.Builder multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting) Indicates whether the slot accepts multiple values in a single utterance.
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:
-
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 DescribeSlotResponse.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:
-