Class CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty>
A builder for
CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getColumns()columns(IResolvable columns) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getColumns()description(String description) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getDescription()Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getInclusion()Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columns
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.Builder columns(IResolvable columns) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getColumns()- Parameters:
columns- An array of objects, each of which defines information about a column in the table.- Returns:
this
-
columns
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.Builder columns(List<? extends Object> columns) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getColumns()- Parameters:
columns- An array of objects, each of which defines information about a column in the table.- Returns:
this
-
description
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.Builder description(String description) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getDescription()- Parameters:
description- A description of the table that helps the query engine understand the contents of the table.- Returns:
this
-
inclusion
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.Builder inclusion(String inclusion) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getInclusion()- Parameters:
inclusion- Specifies whether to include or exclude the table during query generation. If you specifyEXCLUDE, the table will be ignored. If you specifyINCLUDE, all other tables will be ignored.- Returns:
this
-
name
@Stability(Stable) public CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.Builder name(String name) Sets the value ofCfnKnowledgeBasePropsMixin.QueryGenerationTableProperty.getName()- Parameters:
name- The name of the table for which the other fields in this object apply.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.QueryGenerationTableProperty - Throws:
NullPointerException- if any required attribute was not provided
-