Class ReRegion

java.lang.Object
com.jcabi.s3.retry.ReRegion
All Implemented Interfaces:
Region

@Immutable @Loggable(1) public final class ReRegion extends Object implements Region
Region that retries a few times before giving up.
Since:
0.5
  • Constructor Details

    • ReRegion

      public ReRegion(Region reg)
      Public ctor.
      Parameters:
      reg - Region we're in
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • bucket

      public Bucket bucket(String name)
      Description copied from interface: Region
      Get bucket.
      Specified by:
      bucket in interface Region
      Parameters:
      name - Name of the bucket to get
      Returns:
      Bucket
    • aws

      public software.amazon.awssdk.services.s3.S3Client aws()
      Description copied from interface: Region
      Get a client.
      Specified by:
      aws in interface Region
      Returns:
      Amazon S3