public static final class CfnBot.SlotProperty.Builder
extends java.lang.Object
CfnBot.SlotProperty
Constructor and Description |
---|
Builder() |
public CfnBot.SlotProperty.Builder name(java.lang.String name)
CfnBot.SlotProperty.getName()
name
- The name of the slot. This parameter is required.this
public CfnBot.SlotProperty.Builder slotTypeName(java.lang.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
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
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
public CfnBot.SlotProperty.Builder description(java.lang.String description)
CfnBot.SlotProperty.getDescription()
description
- A description of the slot type.this
public CfnBot.SlotProperty.Builder multipleValuesSetting(IResolvable multipleValuesSetting)
CfnBot.SlotProperty.getMultipleValuesSetting()
multipleValuesSetting
- Determines whether the slot can return multiple values to the application.this
public CfnBot.SlotProperty.Builder multipleValuesSetting(CfnBot.MultipleValuesSettingProperty multipleValuesSetting)
CfnBot.SlotProperty.getMultipleValuesSetting()
multipleValuesSetting
- Determines whether the slot can return multiple values to the application.this
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
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
public CfnBot.SlotProperty build()
CfnBot.SlotProperty
java.lang.NullPointerException
- if any required attribute was not provided