Class BedrockClientFactory

java.lang.Object
org.apache.camel.component.aws2.bedrock.runtime.client.BedrockClientFactory

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