Interface DescribeSlotTypeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSlotTypeResponse.Builder,
,DescribeSlotTypeResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeSlotTypeResponse.Builder,
,DescribeSlotTypeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeSlotTypeResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot associated with the slot type.botVersion
(String botVersion) The version of the bot associated with the slot type.default DescribeSlotTypeResponse.Builder
compositeSlotTypeSetting
(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting) Specifications for a composite slot type.compositeSlotTypeSetting
(CompositeSlotTypeSetting compositeSlotTypeSetting) Specifications for a composite slot type.creationDateTime
(Instant creationDateTime) A timestamp of the date and time that the slot type was created.description
(String description) The description specified for the slot type.default DescribeSlotTypeResponse.Builder
externalSourceSetting
(Consumer<ExternalSourceSetting.Builder> externalSourceSetting) Sets the value of the ExternalSourceSetting property for this object.externalSourceSetting
(ExternalSourceSetting externalSourceSetting) Sets the value of the ExternalSourceSetting property for this object.lastUpdatedDateTime
(Instant lastUpdatedDateTime) A timestamp of the date and time that the slot type was last updated.The language and locale specified for the slot type.parentSlotTypeSignature
(String parentSlotTypeSignature) The built in slot type used as a parent to this slot type.slotTypeId
(String slotTypeId) The unique identifier for the slot type.slotTypeName
(String slotTypeName) The name specified for the slot type.slotTypeValues
(Collection<SlotTypeValue> slotTypeValues) The values that the slot type can take.slotTypeValues
(Consumer<SlotTypeValue.Builder>... slotTypeValues) The values that the slot type can take.slotTypeValues
(SlotTypeValue... slotTypeValues) The values that the slot type can take.default DescribeSlotTypeResponse.Builder
valueSelectionSetting
(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting) The strategy that Amazon Lex uses to choose a value from a list of possible values.valueSelectionSetting
(SlotValueSelectionSetting valueSelectionSetting) The strategy that Amazon Lex uses to choose a value from a list of possible values.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
-
slotTypeId
The unique identifier for the slot type.
- Parameters:
slotTypeId
- The unique identifier for the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeName
The name specified for the slot type.
- Parameters:
slotTypeName
- The name specified for the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description specified for the slot type.
- Parameters:
description
- The description specified for the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
The values that the slot type can take. Includes any synonyms for the slot type values.
- Parameters:
slotTypeValues
- The values that the slot type can take. Includes any synonyms for the slot type values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
The values that the slot type can take. Includes any synonyms for the slot type values.
- Parameters:
slotTypeValues
- The values that the slot type can take. Includes any synonyms for the slot type values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
The values that the slot type can take. Includes any synonyms for the slot type values.
This is a convenience method that creates an instance of theSlotTypeValue.Builder
avoiding the need to create one manually viaSlotTypeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslotTypeValues(List<SlotTypeValue>)
.- Parameters:
slotTypeValues
- a consumer that will call methods onSlotTypeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
valueSelectionSetting
DescribeSlotTypeResponse.Builder valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting) The strategy that Amazon Lex uses to choose a value from a list of possible values.
- Parameters:
valueSelectionSetting
- The strategy that Amazon Lex uses to choose a value from a list of possible values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueSelectionSetting
default DescribeSlotTypeResponse.Builder valueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting) The strategy that Amazon Lex uses to choose a value from a list of possible values.
This is a convenience method that creates an instance of theSlotValueSelectionSetting.Builder
avoiding the need to create one manually viaSlotValueSelectionSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalueSelectionSetting(SlotValueSelectionSetting)
.- Parameters:
valueSelectionSetting
- a consumer that will call methods onSlotValueSelectionSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parentSlotTypeSignature
The built in slot type used as a parent to this slot type.
- Parameters:
parentSlotTypeSignature
- The built in slot type used as a parent to this slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botId
The identifier of the bot associated with the slot type.
- Parameters:
botId
- The identifier of the bot associated with the slot type.- 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 type.
- Parameters:
botVersion
- The version of the bot associated with the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The language and locale specified for the slot type.
- Parameters:
localeId
- The language and locale specified for the slot type.- 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 type was created.
- Parameters:
creationDateTime
- A timestamp of the date and time that the slot type 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 type was last updated.
- Parameters:
lastUpdatedDateTime
- A timestamp of the date and time that the slot type was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalSourceSetting
Sets the value of the ExternalSourceSetting property for this object.- Parameters:
externalSourceSetting
- The new value for the ExternalSourceSetting property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalSourceSetting
default DescribeSlotTypeResponse.Builder externalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting) Sets the value of the ExternalSourceSetting property for this object. This is a convenience method that creates an instance of theExternalSourceSetting.Builder
avoiding the need to create one manually viaExternalSourceSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexternalSourceSetting(ExternalSourceSetting)
.- Parameters:
externalSourceSetting
- a consumer that will call methods onExternalSourceSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compositeSlotTypeSetting
DescribeSlotTypeResponse.Builder compositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting) Specifications for a composite slot type.
- Parameters:
compositeSlotTypeSetting
- Specifications for a composite slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositeSlotTypeSetting
default DescribeSlotTypeResponse.Builder compositeSlotTypeSetting(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting) Specifications for a composite slot type.
This is a convenience method that creates an instance of theCompositeSlotTypeSetting.Builder
avoiding the need to create one manually viaCompositeSlotTypeSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompositeSlotTypeSetting(CompositeSlotTypeSetting)
.- Parameters:
compositeSlotTypeSetting
- a consumer that will call methods onCompositeSlotTypeSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-