Interface UpdateSlotTypeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSlotTypeRequest.Builder,
,UpdateSlotTypeRequest> LexModelsV2Request.Builder
,SdkBuilder<UpdateSlotTypeRequest.Builder,
,UpdateSlotTypeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSlotTypeRequest
-
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 UpdateSlotTypeRequest.Builder
compositeSlotTypeSetting
(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting) Specifications for a composite slot type.compositeSlotTypeSetting
(CompositeSlotTypeSetting compositeSlotTypeSetting) Specifications for a composite slot type.description
(String description) The new description of the slot type.default UpdateSlotTypeRequest.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.The identifier of the language and locale that contains the slot type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentSlotTypeSignature
(String parentSlotTypeSignature) The new built-in slot type that should be used as the parent of this slot type.slotTypeId
(String slotTypeId) The unique identifier of the slot type to update.slotTypeName
(String slotTypeName) The new name of the slot type.slotTypeValues
(Collection<SlotTypeValue> slotTypeValues) A new list of values and their optional synonyms that define the values that the slot type can take.slotTypeValues
(Consumer<SlotTypeValue.Builder>... slotTypeValues) A new list of values and their optional synonyms that define the values that the slot type can take.slotTypeValues
(SlotTypeValue... slotTypeValues) A new list of values and their optional synonyms that define the values that the slot type can take.default UpdateSlotTypeRequest.Builder
valueSelectionSetting
(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting) The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.valueSelectionSetting
(SlotValueSelectionSetting valueSelectionSetting) The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
slotTypeId
The unique identifier of the slot type to update.
- Parameters:
slotTypeId
- The unique identifier of the slot type to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeName
The new name of the slot type.
- Parameters:
slotTypeName
- The new name of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description of the slot type.
- Parameters:
description
- The new description of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
A new list of values and their optional synonyms that define the values that the slot type can take.
- Parameters:
slotTypeValues
- A new list of values and their optional synonyms that define the values that the slot type can take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
A new list of values and their optional synonyms that define the values that the slot type can take.
- Parameters:
slotTypeValues
- A new list of values and their optional synonyms that define the values that the slot type can take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
A new list of values and their optional synonyms that define the values that the slot type can take.
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
UpdateSlotTypeRequest.Builder valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting) The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
- Parameters:
valueSelectionSetting
- The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueSelectionSetting
default UpdateSlotTypeRequest.Builder valueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting) The strategy that Amazon Lex should use when deciding on a value from the list of slot type 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 new built-in slot type that should be used as the parent of this slot type.
- Parameters:
parentSlotTypeSignature
- The new built-in slot type that should be used as 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. Must be
DRAFT
.- Parameters:
botVersion
- The version of the bot that contains the slot type. Must beDRAFT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.
- Parameters:
localeId
- The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.- 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 UpdateSlotTypeRequest.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
UpdateSlotTypeRequest.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 UpdateSlotTypeRequest.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:
-
overrideConfiguration
UpdateSlotTypeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSlotTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-