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