Class CfnBot.SpecificationsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SpecificationsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SpecificationsProperty>
- Enclosing interface:
CfnBot.SpecificationsProperty
@Stability(Stable)
public static final class CfnBot.SpecificationsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SpecificationsProperty>
A builder for
CfnBot.SpecificationsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.slotTypeId(String slotTypeId) Sets the value ofCfnBot.SpecificationsProperty.getSlotTypeId()valueElicitationSetting(IResolvable valueElicitationSetting) Sets the value ofCfnBot.SpecificationsProperty.getValueElicitationSetting()valueElicitationSetting(CfnBot.SubSlotValueElicitationSettingProperty valueElicitationSetting) Sets the value ofCfnBot.SpecificationsProperty.getValueElicitationSetting()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
slotTypeId
Sets the value ofCfnBot.SpecificationsProperty.getSlotTypeId()- Parameters:
slotTypeId- The unique identifier assigned to the slot type. This parameter is required.- Returns:
this
-
valueElicitationSetting
@Stability(Stable) public CfnBot.SpecificationsProperty.Builder valueElicitationSetting(IResolvable valueElicitationSetting) Sets the value ofCfnBot.SpecificationsProperty.getValueElicitationSetting()- Parameters:
valueElicitationSetting- Specifies the elicitation setting details for constituent sub slots of a composite slot. This parameter is required.- Returns:
this
-
valueElicitationSetting
@Stability(Stable) public CfnBot.SpecificationsProperty.Builder valueElicitationSetting(CfnBot.SubSlotValueElicitationSettingProperty valueElicitationSetting) Sets the value ofCfnBot.SpecificationsProperty.getValueElicitationSetting()- Parameters:
valueElicitationSetting- Specifies the elicitation setting details for constituent sub slots of a composite slot. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.SpecificationsProperty>- Returns:
- a new instance of
CfnBot.SpecificationsProperty - Throws:
NullPointerException- if any required attribute was not provided
-