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