@Stability(value=Stable) public static final class CfnBot.SlotProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.SlotProperty>
CfnBot.SlotProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBot.SlotProperty.Builder name(String name)
CfnBot.SlotProperty.getName()name - The name of the slot. This parameter is required.this@Stability(value=Stable) public CfnBot.SlotProperty.Builder slotTypeName(String slotTypeName)
CfnBot.SlotProperty.getSlotTypeName()slotTypeName - The name of the slot type that this slot is based on. This parameter is required.
The slot type defines the acceptable values for the slot.this@Stability(value=Stable) public CfnBot.SlotProperty.Builder valueElicitationSetting(CfnBot.SlotValueElicitationSettingProperty valueElicitationSetting)
CfnBot.SlotProperty.getValueElicitationSetting()valueElicitationSetting - Determines the slot resolution strategy that Amazon Lex uses to return slot type values. This parameter is required.
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.SlotProperty.Builder valueElicitationSetting(IResolvable valueElicitationSetting)
CfnBot.SlotProperty.getValueElicitationSetting()valueElicitationSetting - Determines the slot resolution strategy that Amazon Lex uses to return slot type values. This parameter is required.
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.SlotProperty.Builder description(String description)
CfnBot.SlotProperty.getDescription()description - A description of the slot type.this@Stability(value=Stable) public CfnBot.SlotProperty.Builder multipleValuesSetting(CfnBot.MultipleValuesSettingProperty multipleValuesSetting)
CfnBot.SlotProperty.getMultipleValuesSetting()multipleValuesSetting - Determines whether the slot can return multiple values to the application.this@Stability(value=Stable) public CfnBot.SlotProperty.Builder multipleValuesSetting(IResolvable multipleValuesSetting)
CfnBot.SlotProperty.getMultipleValuesSetting()multipleValuesSetting - Determines whether the slot can return multiple values to the application.this@Stability(value=Stable) public CfnBot.SlotProperty.Builder obfuscationSetting(CfnBot.ObfuscationSettingProperty obfuscationSetting)
CfnBot.SlotProperty.getObfuscationSetting()obfuscationSetting - Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs.
Use obfuscated slots to protect information such as personally identifiable information (PII) in logs.this@Stability(value=Stable) public CfnBot.SlotProperty.Builder obfuscationSetting(IResolvable obfuscationSetting)
CfnBot.SlotProperty.getObfuscationSetting()obfuscationSetting - Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs.
Use obfuscated slots to protect information such as personally identifiable information (PII) in logs.this@Stability(value=Stable) public CfnBot.SlotProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.SlotProperty>CfnBot.SlotPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.