Class CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.curatedQueries(List<? extends Object> curatedQueries) curatedQueries(IResolvable curatedQueries) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.getTables()tables(IResolvable tables) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.getTables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
curatedQueries
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.Builder curatedQueries(IResolvable curatedQueries) - Parameters:
curatedQueries- An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.- Returns:
this
-
curatedQueries
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.Builder curatedQueries(List<? extends Object> curatedQueries) - Parameters:
curatedQueries- An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.- Returns:
this
-
tables
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.Builder tables(IResolvable tables) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.getTables()- Parameters:
tables- An array of objects, each of which defines information about a table in the database.- Returns:
this
-
tables
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.Builder tables(List<? extends Object> tables) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationContextProperty.getTables()- Parameters:
tables- An array of objects, each of which defines information about a table in the database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty - Throws:
NullPointerException- if any required attribute was not provided
-