Interface BedrockFoundationModelConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BedrockFoundationModelConfiguration.Builder,BedrockFoundationModelConfiguration>,SdkBuilder<BedrockFoundationModelConfiguration.Builder,BedrockFoundationModelConfiguration>,SdkPojo
- Enclosing class:
- BedrockFoundationModelConfiguration
public static interface BedrockFoundationModelConfiguration.Builder extends SdkPojo, CopyableBuilder<BedrockFoundationModelConfiguration.Builder,BedrockFoundationModelConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BedrockFoundationModelConfiguration.BuildermodelArn(String modelArn)The ARN of the foundation model or inference profile.default BedrockFoundationModelConfiguration.BuilderparsingPrompt(Consumer<ParsingPrompt.Builder> parsingPrompt)Instructions for interpreting the contents of a document.BedrockFoundationModelConfiguration.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, sdkFields
-
-
-
-
Method Detail
-
modelArn
BedrockFoundationModelConfiguration.Builder modelArn(String modelArn)
The ARN of the foundation model or inference profile.
- Parameters:
modelArn- The ARN of the foundation model or inference profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parsingPrompt
BedrockFoundationModelConfiguration.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 BedrockFoundationModelConfiguration.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)
-
-