Class CfnBot.SlotDefaultValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SlotDefaultValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SlotDefaultValueProperty>
- Enclosing interface:
CfnBot.SlotDefaultValueProperty
@Stability(Stable)
public static final class CfnBot.SlotDefaultValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SlotDefaultValueProperty>
A builder for
CfnBot.SlotDefaultValueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultValue(String defaultValue) Sets the value ofCfnBot.SlotDefaultValueProperty.getDefaultValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultValue
Sets the value ofCfnBot.SlotDefaultValueProperty.getDefaultValue()- Parameters:
defaultValue- The default value to use when a user doesn't provide a value for a slot. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.SlotDefaultValueProperty>- Returns:
- a new instance of
CfnBot.SlotDefaultValueProperty - Throws:
NullPointerException- if any required attribute was not provided
-