Class BedrockAgentClientFactory

java.lang.Object
org.apache.camel.component.aws2.bedrock.agent.client.BedrockAgentClientFactory

public final class BedrockAgentClientFactory extends Object
Factory class to return the correct type of AWS Bedrock runtime client.
  • 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