Interface ParsingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ParsingConfiguration.Builder,
,ParsingConfiguration> SdkBuilder<ParsingConfiguration.Builder,
,ParsingConfiguration> SdkPojo
- Enclosing class:
ParsingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ParsingConfiguration.Builder
bedrockDataAutomationConfiguration
(Consumer<BedrockDataAutomationConfiguration.Builder> bedrockDataAutomationConfiguration) If you specifyBEDROCK_DATA_AUTOMATION
as 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_AUTOMATION
as the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.default ParsingConfiguration.Builder
bedrockFoundationModelConfiguration
(Consumer<BedrockFoundationModelConfiguration.Builder> bedrockFoundationModelConfiguration) If you specifyBEDROCK_FOUNDATION_MODEL
as 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_MODEL
as 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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bedrockDataAutomationConfiguration
ParsingConfiguration.Builder bedrockDataAutomationConfiguration(BedrockDataAutomationConfiguration bedrockDataAutomationConfiguration) If you specify
BEDROCK_DATA_AUTOMATION
as 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_AUTOMATION
as 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_AUTOMATION
as the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.BedrockDataAutomationConfiguration.Builder
avoiding the need to create one manually viaBedrockDataAutomationConfiguration.builder()
.When the
Consumer
completes,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:
-
bedrockFoundationModelConfiguration
ParsingConfiguration.Builder bedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration bedrockFoundationModelConfiguration) If you specify
BEDROCK_FOUNDATION_MODEL
as 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_MODEL
as 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_MODEL
as the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.BedrockFoundationModelConfiguration.Builder
avoiding the need to create one manually viaBedrockFoundationModelConfiguration.builder()
.When the
Consumer
completes,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:
-
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:
-