Class CfnBot.SlotResolutionImprovementSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SlotResolutionImprovementSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SlotResolutionImprovementSpecificationProperty>
- Enclosing interface:
CfnBot.SlotResolutionImprovementSpecificationProperty
@Stability(Stable)
public static final class CfnBot.SlotResolutionImprovementSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SlotResolutionImprovementSpecificationProperty>
A builder for
CfnBot.SlotResolutionImprovementSpecificationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockModelSpecification
(IResolvable bedrockModelSpecification) bedrockModelSpecification
(CfnBot.BedrockModelSpecificationProperty bedrockModelSpecification) build()
Builds the configured instance.Sets the value ofCfnBot.SlotResolutionImprovementSpecificationProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnBot.SlotResolutionImprovementSpecificationProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnBot.SlotResolutionImprovementSpecificationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnBot.SlotResolutionImprovementSpecificationProperty.getEnabled()
- Parameters:
enabled
- the value to be set. This parameter is required.- Returns:
this
-
enabled
@Stability(Stable) public CfnBot.SlotResolutionImprovementSpecificationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnBot.SlotResolutionImprovementSpecificationProperty.getEnabled()
- Parameters:
enabled
- the value to be set. This parameter is required.- Returns:
this
-
bedrockModelSpecification
@Stability(Stable) public CfnBot.SlotResolutionImprovementSpecificationProperty.Builder bedrockModelSpecification(IResolvable bedrockModelSpecification) Sets the value ofCfnBot.SlotResolutionImprovementSpecificationProperty.getBedrockModelSpecification()
- Parameters:
bedrockModelSpecification
- the value to be set.- Returns:
this
-
bedrockModelSpecification
@Stability(Stable) public CfnBot.SlotResolutionImprovementSpecificationProperty.Builder bedrockModelSpecification(CfnBot.BedrockModelSpecificationProperty bedrockModelSpecification) Sets the value ofCfnBot.SlotResolutionImprovementSpecificationProperty.getBedrockModelSpecification()
- Parameters:
bedrockModelSpecification
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.SlotResolutionImprovementSpecificationProperty>
- Returns:
- a new instance of
CfnBot.SlotResolutionImprovementSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-