@Stability(value=Stable) public static final class CfnBot.SlotTypeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.SlotTypeProperty>
CfnBot.SlotTypeProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder name(String name)
CfnBot.SlotTypeProperty.getName()name - The name of the slot type. This parameter is required.
A slot type name must be unique withing the account.this@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder description(String description)
CfnBot.SlotTypeProperty.getDescription()description - A description of the slot type.
Use the description to help identify the slot type in lists.this@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder externalSourceSetting(CfnBot.ExternalSourceSettingProperty externalSourceSetting)
CfnBot.SlotTypeProperty.getExternalSourceSetting()externalSourceSetting - Sets the type of external information used to create the slot type.this@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder externalSourceSetting(IResolvable externalSourceSetting)
CfnBot.SlotTypeProperty.getExternalSourceSetting()externalSourceSetting - Sets the type of external information used to create the slot type.this@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder parentSlotTypeSignature(String parentSlotTypeSignature)
CfnBot.SlotTypeProperty.getParentSlotTypeSignature()parentSlotTypeSignature - The built-in slot type used as a parent of this slot type.
When you define a parent slot type, the new slot type has the configuration of the parent lot type.
Only AMAZON.AlphaNumeric is supported.
this@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder slotTypeValues(IResolvable slotTypeValues)
CfnBot.SlotTypeProperty.getSlotTypeValues()slotTypeValues - A list of SlotTypeValue objects that defines the values that the slot type can take.
Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for the slot.this@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder slotTypeValues(List<? extends Object> slotTypeValues)
CfnBot.SlotTypeProperty.getSlotTypeValues()slotTypeValues - A list of SlotTypeValue objects that defines the values that the slot type can take.
Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for the slot.this@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder valueSelectionSetting(CfnBot.SlotValueSelectionSettingProperty valueSelectionSetting)
CfnBot.SlotTypeProperty.getValueSelectionSetting()valueSelectionSetting - Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
The field can be set to one of the following values:
If you don't specify the valueSelectionStrategy, the default is OriginalValue.
this@Stability(value=Stable) public CfnBot.SlotTypeProperty.Builder valueSelectionSetting(IResolvable valueSelectionSetting)
CfnBot.SlotTypeProperty.getValueSelectionSetting()valueSelectionSetting - Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
The field can be set to one of the following values:
If you don't specify the valueSelectionStrategy, the default is OriginalValue.
this@Stability(value=Stable) public CfnBot.SlotTypeProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.SlotTypeProperty>CfnBot.SlotTypePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.