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