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