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- the value to be set. This parameter is required.- Returns:
this
-
enabled
@Stability(Stable) public CfnBot.NluImprovementSpecificationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnBot.NluImprovementSpecificationProperty.getEnabled()- Parameters:
enabled- the value to be set. This parameter is required.- 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
-