Class BedrockAgentClientFactory
java.lang.Object
org.apache.camel.component.aws2.bedrock.agent.client.BedrockAgentClientFactory
Factory class to return the correct type of AWS Bedrock runtime client.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BedrockAgentInternalClientgetBedrockAgentClient(BedrockAgentConfiguration configuration) Return the correct AWS Bedrock Agent client (based on remote vs local).
-
Method Details
-
getBedrockAgentClient
public static BedrockAgentInternalClient getBedrockAgentClient(BedrockAgentConfiguration configuration) Return the correct AWS Bedrock Agent client (based on remote vs local).- Parameters:
configuration- configuration- Returns:
- BedrockAgentInternalClient
-