Interface ParsingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ParsingConfiguration.Builder,,ParsingConfiguration> SdkBuilder<ParsingConfiguration.Builder,,ParsingConfiguration> SdkPojo
- Enclosing class:
ParsingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ParsingConfiguration.BuilderbedrockDataAutomationConfiguration(Consumer<BedrockDataAutomationConfiguration.Builder> 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.bedrockDataAutomationConfiguration(BedrockDataAutomationConfiguration 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.default ParsingConfiguration.BuilderbedrockFoundationModelConfiguration(Consumer<BedrockFoundationModelConfiguration.Builder> 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.bedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration 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.parsingStrategy(String parsingStrategy) The parsing strategy for the data source.parsingStrategy(ParsingStrategy parsingStrategy) The parsing strategy for the data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
parsingStrategy
The parsing strategy for the data source.
- Parameters:
parsingStrategy- The parsing strategy for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parsingStrategy
The parsing strategy for the data source.
- Parameters:
parsingStrategy- The parsing strategy for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bedrockFoundationModelConfiguration
ParsingConfiguration.Builder bedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration bedrockFoundationModelConfiguration) If you specify
BEDROCK_FOUNDATION_MODELas the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockFoundationModelConfiguration
default ParsingConfiguration.Builder bedrockFoundationModelConfiguration(Consumer<BedrockFoundationModelConfiguration.Builder> bedrockFoundationModelConfiguration) If you specify
This is a convenience method that creates an instance of theBEDROCK_FOUNDATION_MODELas the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.BedrockFoundationModelConfiguration.Builderavoiding the need to create one manually viaBedrockFoundationModelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration).- Parameters:
bedrockFoundationModelConfiguration- a consumer that will call methods onBedrockFoundationModelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bedrockDataAutomationConfiguration
ParsingConfiguration.Builder bedrockDataAutomationConfiguration(BedrockDataAutomationConfiguration bedrockDataAutomationConfiguration) If you specify
BEDROCK_DATA_AUTOMATIONas the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockDataAutomationConfiguration
default ParsingConfiguration.Builder bedrockDataAutomationConfiguration(Consumer<BedrockDataAutomationConfiguration.Builder> bedrockDataAutomationConfiguration) If you specify
This is a convenience method that creates an instance of theBEDROCK_DATA_AUTOMATIONas the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.BedrockDataAutomationConfiguration.Builderavoiding the need to create one manually viaBedrockDataAutomationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockDataAutomationConfiguration(BedrockDataAutomationConfiguration).- Parameters:
bedrockDataAutomationConfiguration- a consumer that will call methods onBedrockDataAutomationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-