Class CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kendraKnowledgeBaseConfiguration(CfnKnowledgeBasePropsMixin.KendraKnowledgeBaseConfigurationProperty kendraKnowledgeBaseConfiguration) kendraKnowledgeBaseConfiguration(IResolvable kendraKnowledgeBaseConfiguration) sqlKnowledgeBaseConfiguration(CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty sqlKnowledgeBaseConfiguration) sqlKnowledgeBaseConfiguration(IResolvable sqlKnowledgeBaseConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.getType()vectorKnowledgeBaseConfiguration(CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty vectorKnowledgeBaseConfiguration) vectorKnowledgeBaseConfiguration(IResolvable vectorKnowledgeBaseConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kendraKnowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder kendraKnowledgeBaseConfiguration(IResolvable kendraKnowledgeBaseConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.getKendraKnowledgeBaseConfiguration()- Parameters:
kendraKnowledgeBaseConfiguration- Settings for an Amazon Kendra knowledge base.- Returns:
this
-
kendraKnowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder kendraKnowledgeBaseConfiguration(CfnKnowledgeBasePropsMixin.KendraKnowledgeBaseConfigurationProperty kendraKnowledgeBaseConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.getKendraKnowledgeBaseConfiguration()- Parameters:
kendraKnowledgeBaseConfiguration- Settings for an Amazon Kendra knowledge base.- Returns:
this
-
sqlKnowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder sqlKnowledgeBaseConfiguration(IResolvable sqlKnowledgeBaseConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.getSqlKnowledgeBaseConfiguration()- Parameters:
sqlKnowledgeBaseConfiguration- Specifies configurations for a knowledge base connected to an SQL database.- Returns:
this
-
sqlKnowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder sqlKnowledgeBaseConfiguration(CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty sqlKnowledgeBaseConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.getSqlKnowledgeBaseConfiguration()- Parameters:
sqlKnowledgeBaseConfiguration- Specifies configurations for a knowledge base connected to an SQL database.- Returns:
this
-
type
@Stability(Stable) public CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder type(String type) Sets the value ofCfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.getType()- Parameters:
type- The type of data that the data source is converted into for the knowledge base.- Returns:
this
-
vectorKnowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder vectorKnowledgeBaseConfiguration(IResolvable vectorKnowledgeBaseConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.getVectorKnowledgeBaseConfiguration()- Parameters:
vectorKnowledgeBaseConfiguration- Contains details about the model that's used to convert the data source into vector embeddings.- Returns:
this
-
vectorKnowledgeBaseConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.Builder vectorKnowledgeBaseConfiguration(CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty vectorKnowledgeBaseConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty.getVectorKnowledgeBaseConfiguration()- Parameters:
vectorKnowledgeBaseConfiguration- Contains details about the model that's used to convert the data source into vector embeddings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.KnowledgeBaseConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-