Interface SQSClientFactory

All Known Implementing Classes:
BufferedSQSClientFactory, UnbufferedSQSClientFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SQSClientFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    com.amazonaws.services.sqs.AmazonSQSAsync
    createClient(com.amazonaws.auth.AWSCredentialsProvider creds, com.amazonaws.ClientConfiguration conf, com.adaptris.aws.EndpointBuilder endpointBuilder)
    Create a new Amazon SQS client.
  • Method Details

    • createClient

      com.amazonaws.services.sqs.AmazonSQSAsync createClient(com.amazonaws.auth.AWSCredentialsProvider creds, com.amazonaws.ClientConfiguration conf, com.adaptris.aws.EndpointBuilder endpointBuilder)
      Create a new Amazon SQS client.
      Parameters:
      creds - The credentials to use. If null the default credentials mechanism for the Amazon AWS SDK will be used.
      conf - the ClientConfiguration to use.
      endpointBuilder - configures the endpoint / region that the client will use.
      Returns:
      a AmazonSQSAsync instance.