Class CfnBot.SlotValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SlotValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SlotValueProperty>
- Enclosing interface:
CfnBot.SlotValueProperty
@Stability(Stable)
public static final class CfnBot.SlotValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SlotValueProperty>
A builder for
CfnBot.SlotValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.interpretedValue
(String interpretedValue) Sets the value ofCfnBot.SlotValueProperty.getInterpretedValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
interpretedValue
@Stability(Stable) public CfnBot.SlotValueProperty.Builder interpretedValue(String interpretedValue) Sets the value ofCfnBot.SlotValueProperty.getInterpretedValue()
- Parameters:
interpretedValue
- The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in theresolvedValues
list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.SlotValueProperty>
- Returns:
- a new instance of
CfnBot.SlotValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-