Class CdRegion

  • All Implemented Interfaces:
    Region

    @Immutable
    @Loggable(1)
    public final class CdRegion
    extends Object
    implements Region
    Cached region.
    Since:
    0.8
    Version:
    $Id: f8e9c2d5f77f104006c3a6ee2e98bfa9d158726d $
    Author:
    Yegor Bugayenko (yegor256@gmail.com)
    • Constructor Detail

      • CdRegion

        public CdRegion​(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