Interface ParsingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ParsingConfiguration.Builder,,ParsingConfiguration> SdkBuilder<ParsingConfiguration.Builder,,ParsingConfiguration> SdkPojo
- Enclosing class:
ParsingConfiguration
public static interface ParsingConfiguration.Builder
extends SdkPojo, CopyableBuilder<ParsingConfiguration.Builder,ParsingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ParsingConfiguration.BuilderbedrockFoundationModelConfiguration(Consumer<BedrockFoundationModelConfiguration.Builder> bedrockFoundationModelConfiguration) Settings for a foundation model used to parse documents for a data source.bedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration bedrockFoundationModelConfiguration) Settings for a foundation model used to parse documents for a data source.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
-
bedrockFoundationModelConfiguration
ParsingConfiguration.Builder bedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration bedrockFoundationModelConfiguration) Settings for a foundation model used to parse documents for a data source.
- Parameters:
bedrockFoundationModelConfiguration- Settings for a foundation model used to parse documents for a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockFoundationModelConfiguration
default ParsingConfiguration.Builder bedrockFoundationModelConfiguration(Consumer<BedrockFoundationModelConfiguration.Builder> bedrockFoundationModelConfiguration) Settings for a foundation model used to parse documents for a data source.
This is a convenience method that creates an instance of theBedrockFoundationModelConfiguration.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:
-
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:
-