public static interface UpdateSlotTypeRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<UpdateSlotTypeRequest.Builder,UpdateSlotTypeRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateSlotTypeRequest.Builder |
botId(String botId)
The identifier of the bot that contains the slot type.
|
UpdateSlotTypeRequest.Builder |
botVersion(String botVersion)
The version of the bot that contains the slot type.
|
UpdateSlotTypeRequest.Builder |
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.
|
UpdateSlotTypeRequest.Builder |
externalSourceSetting(ExternalSourceSetting externalSourceSetting)
Sets the value of the ExternalSourceSetting property for this object.
|
UpdateSlotTypeRequest.Builder |
localeId(String localeId)
The identifier of the language and locale that contains the slot type.
|
UpdateSlotTypeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateSlotTypeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateSlotTypeRequest.Builder |
parentSlotTypeSignature(String parentSlotTypeSignature)
The new built-in slot type that should be used as the parent of this slot type.
|
UpdateSlotTypeRequest.Builder |
slotTypeId(String slotTypeId)
The unique identifier of the slot type to update.
|
UpdateSlotTypeRequest.Builder |
slotTypeName(String slotTypeName)
The new name of the slot type.
|
UpdateSlotTypeRequest.Builder |
slotTypeValues(Collection<SlotTypeValue> slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
|
UpdateSlotTypeRequest.Builder |
slotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
|
UpdateSlotTypeRequest.Builder |
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.
|
UpdateSlotTypeRequest.Builder |
valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateSlotTypeRequest.Builder slotTypeId(String slotTypeId)
The unique identifier of the slot type to update.
slotTypeId - The unique identifier of the slot type to update.UpdateSlotTypeRequest.Builder slotTypeName(String slotTypeName)
The new name of the slot type.
slotTypeName - The new name of the slot type.UpdateSlotTypeRequest.Builder description(String description)
The new description of the slot type.
description - The new description of the slot type.UpdateSlotTypeRequest.Builder slotTypeValues(Collection<SlotTypeValue> slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
slotTypeValues - A new list of values and their optional synonyms that define the values that the slot type can take.UpdateSlotTypeRequest.Builder slotTypeValues(SlotTypeValue... slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
slotTypeValues - A new list of values and their optional synonyms that define the values that the slot type can take.UpdateSlotTypeRequest.Builder slotTypeValues(Consumer<SlotTypeValue.Builder>... 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 theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #slotTypeValues(List) .slotTypeValues - a consumer that will call methods on List.Builder #slotTypeValues(List) UpdateSlotTypeRequest.Builder valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
valueSelectionSetting - The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.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 via SlotValueSelectionSetting.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to valueSelectionSetting(SlotValueSelectionSetting).valueSelectionSetting - a consumer that will call methods on SlotValueSelectionSetting.BuildervalueSelectionSetting(SlotValueSelectionSetting)UpdateSlotTypeRequest.Builder parentSlotTypeSignature(String parentSlotTypeSignature)
The new built-in slot type that should be used as the parent of this slot type.
parentSlotTypeSignature - The new built-in slot type that should be used as the parent of this slot type.UpdateSlotTypeRequest.Builder botId(String botId)
The identifier of the bot that contains the slot type.
botId - The identifier of the bot that contains the slot type.UpdateSlotTypeRequest.Builder botVersion(String botVersion)
The version of the bot that contains the slot type. Must be DRAFT.
botVersion - The version of the bot that contains the slot type. Must be DRAFT.UpdateSlotTypeRequest.Builder localeId(String 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.
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.UpdateSlotTypeRequest.Builder externalSourceSetting(ExternalSourceSetting externalSourceSetting)
externalSourceSetting - The new value for the ExternalSourceSetting property for this object.default UpdateSlotTypeRequest.Builder externalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting)
ExternalSourceSetting.Builder avoiding
the need to create one manually via ExternalSourceSetting.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to externalSourceSetting(ExternalSourceSetting).externalSourceSetting - a consumer that will call methods on ExternalSourceSetting.BuilderexternalSourceSetting(ExternalSourceSetting)UpdateSlotTypeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateSlotTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.