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