Class CfnBotPropsMixin.SlotDefaultValueSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SlotDefaultValueSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.SlotDefaultValueSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.SlotDefaultValueSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.SlotDefaultValueSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.SlotDefaultValueSpecificationProperty>
A builder for
CfnBotPropsMixin.SlotDefaultValueSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultValueList(List<? extends Object> defaultValueList) defaultValueList(IResolvable defaultValueList)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultValueList
@Stability(Stable) public CfnBotPropsMixin.SlotDefaultValueSpecificationProperty.Builder defaultValueList(IResolvable defaultValueList) - Parameters:
defaultValueList- A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.- Returns:
this
-
defaultValueList
@Stability(Stable) public CfnBotPropsMixin.SlotDefaultValueSpecificationProperty.Builder defaultValueList(List<? extends Object> defaultValueList) - Parameters:
defaultValueList- A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.SlotDefaultValueSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.SlotDefaultValueSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-