Class S3ClientProvider


  • public class S3ClientProvider
    extends java.lang.Object
    Creates async S3 clients used by this library.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void asyncClientBuilder​(software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilder builder)  
      protected software.amazon.awssdk.services.s3.S3AsyncClient generateClient​(java.lang.String bucket)
      Generates a sync client for the named bucket using a client configured by the default region configuration chain.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • universalClient

        @Deprecated
        protected software.amazon.awssdk.services.s3.S3AsyncClient universalClient
        Deprecated.
        Default asynchronous client using the "..." endpoint
      • asyncClientBuilder

        protected software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilder asyncClientBuilder
        Default S3CrtAsyncClientBuilder
    • Method Detail

      • asyncClientBuilder

        public void asyncClientBuilder​(software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilder builder)
      • generateClient

        protected software.amazon.awssdk.services.s3.S3AsyncClient generateClient​(java.lang.String bucket)
        Generates a sync client for the named bucket using a client configured by the default region configuration chain.
        Parameters:
        bucket - the named of the bucket to make the client for
        Returns:
        an S3 client appropriate for the region of the named bucket