Class CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty>
A builder for
CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockFoundationModelConfiguration(CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty bedrockFoundationModelConfiguration) bedrockFoundationModelConfiguration(IResolvable bedrockFoundationModelConfiguration) build()Builds the configured instance.parsingStrategy(String parsingStrategy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockFoundationModelConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty.Builder bedrockFoundationModelConfiguration(IResolvable bedrockFoundationModelConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.ParsingConfigurationProperty.getBedrockFoundationModelConfiguration()- Parameters:
bedrockFoundationModelConfiguration- Settings for a foundation model used to parse documents for a data source.- Returns:
this
-
bedrockFoundationModelConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty.Builder bedrockFoundationModelConfiguration(CfnKnowledgeBasePropsMixin.BedrockFoundationModelConfigurationProperty bedrockFoundationModelConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.ParsingConfigurationProperty.getBedrockFoundationModelConfiguration()- Parameters:
bedrockFoundationModelConfiguration- Settings for a foundation model used to parse documents for a data source.- Returns:
this
-
parsingStrategy
@Stability(Stable) public CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty.Builder parsingStrategy(String parsingStrategy) - Parameters:
parsingStrategy- The parsing strategy for the data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-