Class CfnKnowledgeBase.QueryGenerationTableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.QueryGenerationTableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase.QueryGenerationTableProperty>
- Enclosing interface:
CfnKnowledgeBase.QueryGenerationTableProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.QueryGenerationTableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.QueryGenerationTableProperty>
A builder for
CfnKnowledgeBase.QueryGenerationTableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKnowledgeBase.QueryGenerationTableProperty.getColumns()columns(IResolvable columns) Sets the value ofCfnKnowledgeBase.QueryGenerationTableProperty.getColumns()description(String description) Sets the value ofCfnKnowledgeBase.QueryGenerationTableProperty.getDescription()Sets the value ofCfnKnowledgeBase.QueryGenerationTableProperty.getInclusion()Sets the value ofCfnKnowledgeBase.QueryGenerationTableProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnKnowledgeBase.QueryGenerationTableProperty.getName()- Parameters:
name- The name of the table for which the other fields in this object apply. This parameter is required.- Returns:
this
-
columns
@Stability(Stable) public CfnKnowledgeBase.QueryGenerationTableProperty.Builder columns(IResolvable columns) Sets the value ofCfnKnowledgeBase.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 CfnKnowledgeBase.QueryGenerationTableProperty.Builder columns(List<? extends Object> columns) Sets the value ofCfnKnowledgeBase.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 CfnKnowledgeBase.QueryGenerationTableProperty.Builder description(String description) Sets the value ofCfnKnowledgeBase.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 CfnKnowledgeBase.QueryGenerationTableProperty.Builder inclusion(String inclusion) Sets the value ofCfnKnowledgeBase.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase.QueryGenerationTableProperty>- Returns:
- a new instance of
CfnKnowledgeBase.QueryGenerationTableProperty - Throws:
NullPointerException- if any required attribute was not provided
-