Class BucketReplicationConfigurationRuleDestination


  • public final class BucketReplicationConfigurationRuleDestination
    extends java.lang.Object
    • Method Detail

      • accountId

        public java.util.Optional<java.lang.String> accountId()
        Returns:
        Account ID to use for overriding the object owner on replication. Must be used in conjunction with `accessControlTranslation` override configuration.
      • bucket

        public java.lang.String bucket()
        Returns:
        ARN of the S3 bucket where you want Amazon S3 to store replicas of the object identified by the rule.
      • replicaKmsKeyId

        public java.util.Optional<java.lang.String> replicaKmsKeyId()
        Returns:
        Destination KMS encryption key ARN for SSE-KMS replication. Must be used in conjunction with `sseKmsEncryptedObjects` source selection criteria.
      • storageClass

        public java.util.Optional<java.lang.String> storageClass()
        Returns:
        [Storage class](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Destination.html#AmazonS3-Type-Destination-StorageClass) used to store the object. By default, Amazon S3 uses the storage class of the source object to create the object replica.