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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BedrockFoundationModelConfigurationForParsing.BuildermodelArn(String modelArn)The ARN of the foundation model.default BedrockFoundationModelConfigurationForParsing.BuilderparsingPrompt(Consumer<ParsingPrompt.Builder> parsingPrompt)Instructions for interpreting the contents of a document.BedrockFoundationModelConfigurationForParsing.BuilderparsingPrompt(ParsingPrompt parsingPrompt)Instructions for interpreting the contents of a document.-
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
-
modelArn
BedrockFoundationModelConfigurationForParsing.Builder modelArn(String 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
BedrockFoundationModelConfigurationForParsing.Builder parsingPrompt(ParsingPrompt 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:
parsingPrompt(ParsingPrompt)
-
-