Package com.jcabi.s3

Interface Region

All Known Implementing Classes:
CdRegion, FkRegion, Region.Simple, ReRegion

public interface Region
Amazon S3 abstraction.

To get an instance of this interface, instantiate Region.Simple, for example:

 Region region = new Region.Simple(key, secret);
 Bucket bucket = region.bucket("my.example.com");
 bucket.remove("README.txt");
Since:
0.1
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Simple implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    software.amazon.awssdk.services.s3.S3Client
    aws()
    Get a client.
    bucket(String name)
    Get bucket.
  • Method Details

    • bucket

      Bucket bucket(String name)
      Get bucket.
      Parameters:
      name - Name of the bucket to get
      Returns:
      Bucket
    • aws

      software.amazon.awssdk.services.s3.S3Client aws()
      Get a client.
      Returns:
      Amazon S3