Class CfnBot.NluImprovementSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.NluImprovementSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.NluImprovementSpecificationProperty>
- Enclosing interface:
CfnBot.NluImprovementSpecificationProperty
@Stability(Stable)
public static final class CfnBot.NluImprovementSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.NluImprovementSpecificationProperty>
A builder for
CfnBot.NluImprovementSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBot.NluImprovementSpecificationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnBot.NluImprovementSpecificationProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnBot.NluImprovementSpecificationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnBot.NluImprovementSpecificationProperty.getEnabled()- Parameters:
enabled- Determines whether the Assisted NLU feature is enabled for the bot. This parameter is required. When set totrue, Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default beingfalse.- Returns:
this
-
enabled
@Stability(Stable) public CfnBot.NluImprovementSpecificationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnBot.NluImprovementSpecificationProperty.getEnabled()- Parameters:
enabled- Determines whether the Assisted NLU feature is enabled for the bot. This parameter is required. When set totrue, Amazon Lex uses advanced models to improve intent recognition and slot resolution, with the default beingfalse.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.NluImprovementSpecificationProperty>- Returns:
- a new instance of
CfnBot.NluImprovementSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-