Class AwsBedrockPluginOptions.Builder
java.lang.Object
com.google.genkit.plugins.awsbedrock.AwsBedrockPluginOptions.Builder
- Enclosing class:
AwsBedrockPluginOptions
Builder for AwsBedrockPluginOptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.credentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) Sets the AWS credentials provider.Sets the AWS region by region string.region(software.amazon.awssdk.regions.Region region) Sets the AWS region.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
region
Sets the AWS region.- Parameters:
region- the region- Returns:
- this builder
-
region
Sets the AWS region by region string.- Parameters:
regionString- the region string (e.g., "us-east-1")- Returns:
- this builder
-
credentialsProvider
public AwsBedrockPluginOptions.Builder credentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) Sets the AWS credentials provider.- Parameters:
credentialsProvider- the credentials provider- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-