Interface CreateSlotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateSlotResponse.Builder,
,CreateSlotResponse> LexModelsV2Response.Builder
,SdkBuilder<CreateSlotResponse.Builder,
,CreateSlotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateSlotResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot associated with the slot.botVersion
(String botVersion) The version of the bot associated with the slot.creationDateTime
(Instant creationDateTime) The timestamp of the date and time that the slot was created.description
(String description) The description associated with the slot.The unique identifier of the intent associated with the slot.The language and local specified for the slot.default CreateSlotResponse.Builder
multipleValuesSetting
(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting) Indicates whether the slot returns multiple values in one response.multipleValuesSetting
(MultipleValuesSetting multipleValuesSetting) Indicates whether the slot returns multiple values in one response.default CreateSlotResponse.Builder
obfuscationSetting
(Consumer<ObfuscationSetting.Builder> obfuscationSetting) Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.obfuscationSetting
(ObfuscationSetting obfuscationSetting) Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.The unique identifier associated with the slot.The name specified for the slot.slotTypeId
(String slotTypeId) The unique identifier of the slot type associated with this slot.default CreateSlotResponse.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 CreateSlotResponse.Builder
valueElicitationSetting
(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting) The value elicitation settings specified for the slot.valueElicitationSetting
(SlotValueElicitationSetting valueElicitationSetting) The value elicitation settings specified 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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
slotId
The unique identifier associated with the slot. Use this to identify the slot when you update or delete it.
- Parameters:
slotId
- The unique identifier associated with the slot. Use this to identify the slot when you update or delete it.- 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 associated with the slot.
- Parameters:
description
- The description associated with the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeId
The unique identifier of the slot type associated with this slot.
- Parameters:
slotTypeId
- The unique identifier of the slot type associated with this slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
CreateSlotResponse.Builder valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting) The value elicitation settings specified for the slot.
- Parameters:
valueElicitationSetting
- The value elicitation settings specified for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
default CreateSlotResponse.Builder valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting) The value elicitation settings specified 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
Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.
- Parameters:
obfuscationSetting
- Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
obfuscationSetting
default CreateSlotResponse.Builder obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting) Indicates whether the slot is configured to obfuscate values in 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 unique identifier of the bot associated with the slot.
- Parameters:
botId
- The unique 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 local specified for the slot.
- Parameters:
localeId
- The language and local specified for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentId
The unique identifier of the intent associated with the slot.
- Parameters:
intentId
- The unique identifier of the intent associated with 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.
-
multipleValuesSetting
Indicates whether the slot returns multiple values in one response.
- Parameters:
multipleValuesSetting
- Indicates whether the slot returns multiple values in one response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multipleValuesSetting
default CreateSlotResponse.Builder multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting) Indicates whether the slot returns 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:
-