Class AWS2EC2ClientFactory

java.lang.Object
org.apache.camel.component.aws2.ec2.client.AWS2EC2ClientFactory

public final class AWS2EC2ClientFactory extends Object
Factory class to return the correct type of AWS Athena client.
  • Method Details

    • getEc2Client

      public static AWS2EC2InternalClient getEc2Client(AWS2EC2Configuration configuration)
      Return the correct AWS EC2 client (based on remote vs local).
      Parameters:
      configuration - configuration
      Returns:
      Ec2Client