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: http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/AmazonS3Client .html#AmazonS3Client%28%29
      • 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: http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/AmazonS3Client .html#AmazonS3Client%28%29
      • S3DuplicationPolicyRepo

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

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