Class CfnBot.SubSlotSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SubSlotSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SubSlotSettingProperty>
- Enclosing interface:
CfnBot.SubSlotSettingProperty
@Stability(Stable)
public static final class CfnBot.SubSlotSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SubSlotSettingProperty>
A builder for
CfnBot.SubSlotSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expression(String expression) Sets the value ofCfnBot.SubSlotSettingProperty.getExpression()slotSpecifications(Map<String, ? extends Object> slotSpecifications) Sets the value ofCfnBot.SubSlotSettingProperty.getSlotSpecifications()slotSpecifications(IResolvable slotSpecifications) Sets the value ofCfnBot.SubSlotSettingProperty.getSlotSpecifications()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
Sets the value ofCfnBot.SubSlotSettingProperty.getExpression()- Parameters:
expression- The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.- Returns:
this
-
slotSpecifications
@Stability(Stable) public CfnBot.SubSlotSettingProperty.Builder slotSpecifications(IResolvable slotSpecifications) Sets the value ofCfnBot.SubSlotSettingProperty.getSlotSpecifications()- Parameters:
slotSpecifications- Specifications for the constituent sub slots of a composite slot.- Returns:
this
-
slotSpecifications
@Stability(Stable) public CfnBot.SubSlotSettingProperty.Builder slotSpecifications(Map<String, ? extends Object> slotSpecifications) Sets the value ofCfnBot.SubSlotSettingProperty.getSlotSpecifications()- Parameters:
slotSpecifications- Specifications for the constituent sub slots of a composite slot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.SubSlotSettingProperty>- Returns:
- a new instance of
CfnBot.SubSlotSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-