Class BedrockClientFactory
java.lang.Object
org.apache.camel.component.aws2.bedrock.runtime.client.BedrockClientFactory
Factory class to return the correct type of AWS Bedrock runtime client.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BedrockRuntimeInternalClientgetBedrockRuntimeClient(BedrockConfiguration configuration) Return the correct AWS Bedrock runtime client (based on remote vs local).
-
Method Details
-
getBedrockRuntimeClient
public static BedrockRuntimeInternalClient getBedrockRuntimeClient(BedrockConfiguration configuration) Return the correct AWS Bedrock runtime client (based on remote vs local).- Parameters:
configuration- configuration- Returns:
- BedrockRuntimeInternalClient
-