Package com.anthropic.bedrock.backends
Class BedrockBackend.Builder
-
- All Implemented Interfaces:
public final class BedrockBackend.BuilderA builder for a BedrockBackend used to connect an Anthropic client to an Amazon Bedrock backend service.
The AWS credentials and region can be extracted from the environment and set on the builder by calling fromEnv before calling build to create the BedrockBackend. Alternatively, set the AWS credentials and region explicitly via awsCredentials and region before calling build.
-
-
Method Summary
Modifier and Type Method Description final BedrockBackend.BuilderfromEnv()final BedrockBackend.BuilderawsCredentials(AwsCredentials awsCredentials)final BedrockBackend.Builderregion(Region region)final BedrockBackendbuild()-
-
Method Detail
-
fromEnv
final BedrockBackend.Builder fromEnv()
-
awsCredentials
final BedrockBackend.Builder awsCredentials(AwsCredentials awsCredentials)
-
region
final BedrockBackend.Builder region(Region region)
-
build
final BedrockBackend build()
-
-
-
-