Class S3DuplicationPolicyRepo

  • All Implemented Interfaces:
    DuplicationPolicyRepo

    public class S3DuplicationPolicyRepo
    extends Object
    implements DuplicationPolicyRepo
    Provides access to a duplication policy repo that is stored in S3, as a bucket which contains the policy files.
    Author:
    Bill Branan Date: 10/31/13
    • Constructor Detail

      • S3DuplicationPolicyRepo

        public S3DuplicationPolicyRepo()
        Creates an S3 policy repo connection. Expects that S3 credentials will be available from the environment, as described here: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html
      • S3DuplicationPolicyRepo

        public S3DuplicationPolicyRepo​(String policyRepoBucketSuffix)
        Creates an S3 policy repo connection. Uses the provided bucket suffix. Expects that S3 credentials will be available from the environment, as described here: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html
      • S3DuplicationPolicyRepo

        public S3DuplicationPolicyRepo​(com.amazonaws.services.s3.AmazonS3 s3Client,
                                       String policyRepoBucketSuffix)
      • S3DuplicationPolicyRepo

        public S3DuplicationPolicyRepo​(com.amazonaws.services.s3.AmazonS3 s3Client)
        Intended for testing