Interface ParsingConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ParsingConfiguration.Builder,ParsingConfiguration>,SdkBuilder<ParsingConfiguration.Builder,ParsingConfiguration>,SdkPojo
- Enclosing class:
- ParsingConfiguration
@Mutable @NotThreadSafe public static interface ParsingConfiguration.Builder extends SdkPojo, CopyableBuilder<ParsingConfiguration.Builder,ParsingConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.ParsingConfiguration.BuilderbedrockDataAutomationConfiguration(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.ParsingConfiguration.BuilderbedrockFoundationModelConfiguration(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.ParsingConfiguration.BuilderparsingStrategy(String parsingStrategy)The parsing strategy for the data source.ParsingConfiguration.BuilderparsingStrategy(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 Detail
-
parsingStrategy
ParsingConfiguration.Builder parsingStrategy(String 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,ParsingStrategy
-
parsingStrategy
ParsingConfiguration.Builder parsingStrategy(ParsingStrategy 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,ParsingStrategy
-
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:
bedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration)
-
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:
bedrockDataAutomationConfiguration(BedrockDataAutomationConfiguration)
-
-