Class 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
    Version:
    $Id: 357eed49d1a58c87182845c850be8edbf78bd151 $
    Author:
    Yegor Bugayenko ([email protected])
    • Constructor Detail

      • ReRegion

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

      • 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 com.amazonaws.services.s3.AmazonS3 aws()
        Description copied from interface: Region
        Get a client.
        Specified by:
        aws in interface Region
        Returns:
        Amazon S3