Class CfnBot.CompositeSlotTypeSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.CompositeSlotTypeSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.CompositeSlotTypeSettingProperty>
- Enclosing interface:
CfnBot.CompositeSlotTypeSettingProperty
@Stability(Stable)
public static final class CfnBot.CompositeSlotTypeSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.CompositeSlotTypeSettingProperty>
A builder for
CfnBot.CompositeSlotTypeSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBot.CompositeSlotTypeSettingProperty.getSubSlots()subSlots(IResolvable subSlots) Sets the value ofCfnBot.CompositeSlotTypeSettingProperty.getSubSlots()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subSlots
@Stability(Stable) public CfnBot.CompositeSlotTypeSettingProperty.Builder subSlots(IResolvable subSlots) Sets the value ofCfnBot.CompositeSlotTypeSettingProperty.getSubSlots()- Parameters:
subSlots- Subslots in the composite slot.- Returns:
this
-
subSlots
@Stability(Stable) public CfnBot.CompositeSlotTypeSettingProperty.Builder subSlots(List<? extends Object> subSlots) Sets the value ofCfnBot.CompositeSlotTypeSettingProperty.getSubSlots()- Parameters:
subSlots- Subslots in the composite slot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.CompositeSlotTypeSettingProperty>- Returns:
- a new instance of
CfnBot.CompositeSlotTypeSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-