Interface S3Connector

All Superinterfaces:
AutoCloseable, BlobStoreConnector
All Known Implementing Classes:
S3Connector.Default

public interface S3Connector
extends BlobStoreConnector
Connector for the Amazon Simple Storage Service (Amazon S3).

First create a connection to the S3 storage.

 S3Client client = ...
 BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New(
 S3Connector.Caching(client)
 );
 
  • Method Details

    • New

      static S3Connector New​(software.amazon.awssdk.services.s3.S3Client s3)
      Pseudo-constructor method which creates a new S3Connector.
      Parameters:
      s3 - connection to the S3 storage
      Returns:
      a new S3Connector
    • Caching

      static S3Connector Caching​(software.amazon.awssdk.services.s3.S3Client s3)
      Pseudo-constructor method which creates a new S3Connector with cache.
      Parameters:
      s3 - connection to the S3 storage
      Returns:
      a new S3Connector