public static interface CreateSlotTypeResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateSlotTypeResponse.Builder,CreateSlotTypeResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateSlotTypeResponse.Builder |
botId(String botId)
The identifier for the bot associated with the slot type.
|
CreateSlotTypeResponse.Builder |
botVersion(String botVersion)
The version of the bot associated with the slot type.
|
CreateSlotTypeResponse.Builder |
compositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)
Specifications for a composite slot type.
|
default CreateSlotTypeResponse.Builder |
compositeSlotTypeSetting(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting)
Specifications for a composite slot type.
|
CreateSlotTypeResponse.Builder |
creationDateTime(Instant creationDateTime)
A timestamp of the date and time that the slot type was created.
|
CreateSlotTypeResponse.Builder |
description(String description)
The description specified for the slot type.
|
default CreateSlotTypeResponse.Builder |
externalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting)
The type of external information used to create the slot type.
|
CreateSlotTypeResponse.Builder |
externalSourceSetting(ExternalSourceSetting externalSourceSetting)
The type of external information used to create the slot type.
|
CreateSlotTypeResponse.Builder |
localeId(String localeId)
The specified language and local specified for the slot type.
|
CreateSlotTypeResponse.Builder |
parentSlotTypeSignature(String parentSlotTypeSignature)
The signature of the base slot type specified for the slot type.
|
CreateSlotTypeResponse.Builder |
slotTypeId(String slotTypeId)
The unique identifier assigned to the slot type.
|
CreateSlotTypeResponse.Builder |
slotTypeName(String slotTypeName)
The name specified for the slot type.
|
CreateSlotTypeResponse.Builder |
slotTypeValues(Collection<SlotTypeValue> slotTypeValues)
The list of values that the slot type can assume.
|
CreateSlotTypeResponse.Builder |
slotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)
The list of values that the slot type can assume.
|
CreateSlotTypeResponse.Builder |
slotTypeValues(SlotTypeValue... slotTypeValues)
The list of values that the slot type can assume.
|
default CreateSlotTypeResponse.Builder |
valueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting)
The strategy that Amazon Lex uses to select a value from the list of possible values.
|
CreateSlotTypeResponse.Builder |
valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex uses to select a value from the list of possible values.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSlotTypeResponse.Builder slotTypeId(String slotTypeId)
The unique identifier assigned to the slot type. Use this to identify the slot type in the
UpdateSlotType and DeleteSlotType operations.
slotTypeId - The unique identifier assigned to the slot type. Use this to identify the slot type in the
UpdateSlotType and DeleteSlotType operations.CreateSlotTypeResponse.Builder slotTypeName(String slotTypeName)
The name specified for the slot type.
slotTypeName - The name specified for the slot type.CreateSlotTypeResponse.Builder description(String description)
The description specified for the slot type.
description - The description specified for the slot type.CreateSlotTypeResponse.Builder slotTypeValues(Collection<SlotTypeValue> slotTypeValues)
The list of values that the slot type can assume.
slotTypeValues - The list of values that the slot type can assume.CreateSlotTypeResponse.Builder slotTypeValues(SlotTypeValue... slotTypeValues)
The list of values that the slot type can assume.
slotTypeValues - The list of values that the slot type can assume.CreateSlotTypeResponse.Builder slotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)
The list of values that the slot type can assume.
This is a convenience method that creates an instance of theSlotTypeValue.Builder avoiding the need to create
one manually via SlotTypeValue.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #slotTypeValues(List.
slotTypeValues - a consumer that will call methods on
SlotTypeValue.Builder#slotTypeValues(java.util.Collection) CreateSlotTypeResponse.Builder valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex uses to select a value from the list of possible values.
valueSelectionSetting - The strategy that Amazon Lex uses to select a value from the list of possible values.default CreateSlotTypeResponse.Builder valueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting)
The strategy that Amazon Lex uses to select a value from the list of possible 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)CreateSlotTypeResponse.Builder parentSlotTypeSignature(String parentSlotTypeSignature)
The signature of the base slot type specified for the slot type.
parentSlotTypeSignature - The signature of the base slot type specified for the slot type.CreateSlotTypeResponse.Builder botId(String botId)
The identifier for the bot associated with the slot type.
botId - The identifier for the bot associated with the slot type.CreateSlotTypeResponse.Builder botVersion(String botVersion)
The version of the bot associated with the slot type.
botVersion - The version of the bot associated with the slot type.CreateSlotTypeResponse.Builder localeId(String localeId)
The specified language and local specified for the slot type.
localeId - The specified language and local specified for the slot type.CreateSlotTypeResponse.Builder creationDateTime(Instant creationDateTime)
A timestamp of the date and time that the slot type was created.
creationDateTime - A timestamp of the date and time that the slot type was created.CreateSlotTypeResponse.Builder externalSourceSetting(ExternalSourceSetting externalSourceSetting)
The type of external information used to create the slot type.
externalSourceSetting - The type of external information used to create the slot type.default CreateSlotTypeResponse.Builder externalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting)
The type of external information used to create the slot type.
This is a convenience method that creates an instance of theExternalSourceSetting.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)CreateSlotTypeResponse.Builder compositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)
Specifications for a composite slot type.
compositeSlotTypeSetting - Specifications for a composite slot type.default CreateSlotTypeResponse.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 via CompositeSlotTypeSetting.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to compositeSlotTypeSetting(CompositeSlotTypeSetting).
compositeSlotTypeSetting - a consumer that will call methods on CompositeSlotTypeSetting.BuildercompositeSlotTypeSetting(CompositeSlotTypeSetting)Copyright © 2022. All rights reserved.