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
Modifier and TypeMethodDescriptiondefault ParsingConfiguration.Builder
bedrockFoundationModelConfiguration
(Consumer<BedrockFoundationModelConfigurationForParsing.Builder> bedrockFoundationModelConfiguration) Settings for a foundation model used to parse documents for a data source.bedrockFoundationModelConfiguration
(BedrockFoundationModelConfigurationForParsing 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
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
-
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(BedrockFoundationModelConfigurationForParsing 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<BedrockFoundationModelConfigurationForParsing.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 theBedrockFoundationModelConfigurationForParsing.Builder
avoiding the need to create one manually viaBedrockFoundationModelConfigurationForParsing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationForParsing)
.- Parameters:
bedrockFoundationModelConfiguration
- a consumer that will call methods onBedrockFoundationModelConfigurationForParsing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-