Class CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockModelSpecification(CfnBotPropsMixin.BedrockModelSpecificationProperty bedrockModelSpecification) bedrockModelSpecification(IResolvable bedrockModelSpecification) build()Builds the configured instance.enabled(IResolvable enabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockModelSpecification
@Stability(Stable) public CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.Builder bedrockModelSpecification(IResolvable bedrockModelSpecification) Sets the value ofCfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.getBedrockModelSpecification()- Parameters:
bedrockModelSpecification- An object containing information about the Amazon Bedrock model used to assist slot resolution.- Returns:
this
-
bedrockModelSpecification
@Stability(Stable) public CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.Builder bedrockModelSpecification(CfnBotPropsMixin.BedrockModelSpecificationProperty bedrockModelSpecification) Sets the value ofCfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.getBedrockModelSpecification()- Parameters:
bedrockModelSpecification- An object containing information about the Amazon Bedrock model used to assist slot resolution.- Returns:
this
-
enabled
@Stability(Stable) public CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Specifies whether assisted slot resolution is turned on or off.- Returns:
this
-
enabled
@Stability(Stable) public CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Specifies whether assisted slot resolution is turned on or off.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.SlotResolutionImprovementSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-