Interface DescribeSlotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeSlotResponse
public static interface DescribeSlotResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeSlotResponse.BuilderbotId(String botId)The identifier of the bot associated with the slot.DescribeSlotResponse.BuilderbotVersion(String botVersion)The version of the bot associated with the slot.DescribeSlotResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the slot was created.DescribeSlotResponse.Builderdescription(String description)The description specified for the slot.DescribeSlotResponse.BuilderintentId(String intentId)The identifier of the intent associated with the slot.DescribeSlotResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)A timestamp of the date and time that the slot was last updated.DescribeSlotResponse.BuilderlocaleId(String localeId)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.DescribeSlotResponse.BuildermultipleValuesSetting(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.DescribeSlotResponse.BuilderobfuscationSetting(ObfuscationSetting obfuscationSetting)Whether slot values are shown in Amazon CloudWatch logs.DescribeSlotResponse.BuilderslotId(String slotId)The unique identifier generated for the slot.DescribeSlotResponse.BuilderslotName(String slotName)The name specified for the slot.DescribeSlotResponse.BuilderslotTypeId(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.DescribeSlotResponse.BuildersubSlotSetting(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.DescribeSlotResponse.BuildervalueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)Prompts that Amazon Lex uses to elicit 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
DescribeSlotResponse.Builder slotId(String 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
DescribeSlotResponse.Builder slotName(String 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
DescribeSlotResponse.Builder description(String 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
DescribeSlotResponse.Builder slotTypeId(String 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:
valueElicitationSetting(SlotValueElicitationSetting)
-
obfuscationSetting
DescribeSlotResponse.Builder obfuscationSetting(ObfuscationSetting 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:
obfuscationSetting(ObfuscationSetting)
-
botId
DescribeSlotResponse.Builder botId(String 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
DescribeSlotResponse.Builder botVersion(String 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
DescribeSlotResponse.Builder localeId(String 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
DescribeSlotResponse.Builder intentId(String 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
DescribeSlotResponse.Builder creationDateTime(Instant 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
DescribeSlotResponse.Builder lastUpdatedDateTime(Instant 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
DescribeSlotResponse.Builder multipleValuesSetting(MultipleValuesSetting 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:
multipleValuesSetting(MultipleValuesSetting)
-
subSlotSetting
DescribeSlotResponse.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 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:
subSlotSetting(SubSlotSetting)
-
-