Class CfnDataSourcePropsMixin.ParsingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.ParsingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ParsingConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.ParsingConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.ParsingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ParsingConfigurationProperty>
A builder for
CfnDataSourcePropsMixin.ParsingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockDataAutomationConfiguration(CfnDataSourcePropsMixin.BedrockDataAutomationConfigurationProperty bedrockDataAutomationConfiguration) bedrockDataAutomationConfiguration(IResolvable bedrockDataAutomationConfiguration) bedrockFoundationModelConfiguration(CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty bedrockFoundationModelConfiguration) bedrockFoundationModelConfiguration(IResolvable bedrockFoundationModelConfiguration) build()Builds the configured instance.parsingStrategy(String parsingStrategy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockDataAutomationConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.ParsingConfigurationProperty.Builder bedrockDataAutomationConfiguration(IResolvable bedrockDataAutomationConfiguration) Sets the value ofCfnDataSourcePropsMixin.ParsingConfigurationProperty.getBedrockDataAutomationConfiguration()- Parameters:
bedrockDataAutomationConfiguration- If you specifyBEDROCK_DATA_AUTOMATIONas the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.- Returns:
this
-
bedrockDataAutomationConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.ParsingConfigurationProperty.Builder bedrockDataAutomationConfiguration(CfnDataSourcePropsMixin.BedrockDataAutomationConfigurationProperty bedrockDataAutomationConfiguration) Sets the value ofCfnDataSourcePropsMixin.ParsingConfigurationProperty.getBedrockDataAutomationConfiguration()- Parameters:
bedrockDataAutomationConfiguration- If you specifyBEDROCK_DATA_AUTOMATIONas the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.- Returns:
this
-
bedrockFoundationModelConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.ParsingConfigurationProperty.Builder bedrockFoundationModelConfiguration(IResolvable bedrockFoundationModelConfiguration) Sets the value ofCfnDataSourcePropsMixin.ParsingConfigurationProperty.getBedrockFoundationModelConfiguration()- Parameters:
bedrockFoundationModelConfiguration- If you specifyBEDROCK_FOUNDATION_MODELas the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.- Returns:
this
-
bedrockFoundationModelConfiguration
@Stability(Stable) public CfnDataSourcePropsMixin.ParsingConfigurationProperty.Builder bedrockFoundationModelConfiguration(CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty bedrockFoundationModelConfiguration) Sets the value ofCfnDataSourcePropsMixin.ParsingConfigurationProperty.getBedrockFoundationModelConfiguration()- Parameters:
bedrockFoundationModelConfiguration- If you specifyBEDROCK_FOUNDATION_MODELas the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.- Returns:
this
-
parsingStrategy
@Stability(Stable) public CfnDataSourcePropsMixin.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<CfnDataSourcePropsMixin.ParsingConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.ParsingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-