public static final class CfnBot.SlotDefaultValueProperty.Builder
extends java.lang.Object
CfnBot.SlotDefaultValueProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.SlotDefaultValueProperty |
build()
Builds the configured instance.
|
CfnBot.SlotDefaultValueProperty.Builder |
defaultValue(java.lang.String defaultValue)
Sets the value of
CfnBot.SlotDefaultValueProperty.getDefaultValue() |
public CfnBot.SlotDefaultValueProperty.Builder defaultValue(java.lang.String defaultValue)
CfnBot.SlotDefaultValueProperty.getDefaultValue()
defaultValue
- The default value to use when a user doesn't provide a value for a slot. This parameter is required.this
public CfnBot.SlotDefaultValueProperty build()
CfnBot.SlotDefaultValueProperty
java.lang.NullPointerException
- if any required attribute was not provided