Interface UpdateSlotTypeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateSlotTypeResponse.Builder,
,UpdateSlotTypeResponse> LexModelsV2Response.Builder
,SdkBuilder<UpdateSlotTypeResponse.Builder,
,UpdateSlotTypeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateSlotTypeResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the slot type.botVersion
(String botVersion) The version of the bot that contains the slot type.default UpdateSlotTypeResponse.Builder
compositeSlotTypeSetting
(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting) Specifications for a composite slot type.compositeSlotTypeSetting
(CompositeSlotTypeSetting compositeSlotTypeSetting) Specifications for a composite slot type.creationDateTime
(Instant creationDateTime) The timestamp of the date and time that the slot type was created.description
(String description) The updated description of the slot type.default UpdateSlotTypeResponse.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 of the updated slot type.parentSlotTypeSignature
(String parentSlotTypeSignature) The updated signature of the built-in slot type that is the parent of this slot type.slotTypeId
(String slotTypeId) The unique identifier of the updated slot type.slotTypeName
(String slotTypeName) The updated name of the slot type.slotTypeValues
(Collection<SlotTypeValue> slotTypeValues) The updated values that the slot type provides.slotTypeValues
(Consumer<SlotTypeValue.Builder>... slotTypeValues) The updated values that the slot type provides.slotTypeValues
(SlotTypeValue... slotTypeValues) The updated values that the slot type provides.default UpdateSlotTypeResponse.Builder
valueSelectionSetting
(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting) The updated strategy that Amazon Lex uses to determine which value to select from the slot type.valueSelectionSetting
(SlotValueSelectionSetting valueSelectionSetting) The updated strategy that Amazon Lex uses to determine which value to select from the slot type.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 of the updated slot type.
- Parameters:
slotTypeId
- The unique identifier of the updated slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeName
The updated name of the slot type.
- Parameters:
slotTypeName
- The updated name of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the slot type.
- Parameters:
description
- The updated description of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
The updated values that the slot type provides.
- Parameters:
slotTypeValues
- The updated values that the slot type provides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
The updated values that the slot type provides.
- Parameters:
slotTypeValues
- The updated values that the slot type provides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
The updated values that the slot type provides.
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
UpdateSlotTypeResponse.Builder valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting) The updated strategy that Amazon Lex uses to determine which value to select from the slot type.
- Parameters:
valueSelectionSetting
- The updated strategy that Amazon Lex uses to determine which value to select from the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueSelectionSetting
default UpdateSlotTypeResponse.Builder valueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting) The updated strategy that Amazon Lex uses to determine which value to select from the slot type.
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 updated signature of the built-in slot type that is the parent of this slot type.
- Parameters:
parentSlotTypeSignature
- The updated signature of the built-in slot type that is the parent of this slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botId
The identifier of the bot that contains the slot type.
- Parameters:
botId
- The identifier of the bot that contains the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot that contains the slot type. This is always
DRAFT
.- Parameters:
botVersion
- The version of the bot that contains the slot type. This is alwaysDRAFT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The language and locale of the updated slot type.
- Parameters:
localeId
- The language and locale of the updated slot type.- 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 type was created.
- Parameters:
creationDateTime
- The 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 UpdateSlotTypeResponse.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
UpdateSlotTypeResponse.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 UpdateSlotTypeResponse.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:
-