Interface BedrockFoundationModelConfigurationForParsing.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<BedrockFoundationModelConfigurationForParsing.Builder,,BedrockFoundationModelConfigurationForParsing> SdkBuilder<BedrockFoundationModelConfigurationForParsing.Builder,,BedrockFoundationModelConfigurationForParsing> SdkPojo
- Enclosing class:
 BedrockFoundationModelConfigurationForParsing
public static interface BedrockFoundationModelConfigurationForParsing.Builder
extends SdkPojo, CopyableBuilder<BedrockFoundationModelConfigurationForParsing.Builder,BedrockFoundationModelConfigurationForParsing> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the foundation model.parsingPrompt(Consumer<ParsingPrompt.Builder> parsingPrompt) Instructions for interpreting the contents of a document.parsingPrompt(ParsingPrompt parsingPrompt) Instructions for interpreting the contents of a document.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
- 
modelArn
The ARN of the foundation model.
- Parameters:
 modelArn- The ARN of the foundation model.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
parsingPrompt
Instructions for interpreting the contents of a document.
- Parameters:
 parsingPrompt- Instructions for interpreting the contents of a document.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
parsingPrompt
default BedrockFoundationModelConfigurationForParsing.Builder parsingPrompt(Consumer<ParsingPrompt.Builder> parsingPrompt) Instructions for interpreting the contents of a document.
This is a convenience method that creates an instance of theParsingPrompt.Builderavoiding the need to create one manually viaParsingPrompt.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparsingPrompt(ParsingPrompt).- Parameters:
 parsingPrompt- a consumer that will call methods onParsingPrompt.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -