Interface Destination.Builder

    • Method Detail

      • account

        Destination.Builder account​(String account)

        The destination bucket owner's account ID.

        Parameters:
        account - The destination bucket owner's account ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucket

        Destination.Builder bucket​(String bucket)

        The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.

        Parameters:
        bucket - The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationTime

        Destination.Builder replicationTime​(ReplicationTime replicationTime)

        A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics block.

        This is not supported by Amazon S3 on Outposts buckets.

        Parameters:
        replicationTime - A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics block.

        This is not supported by Amazon S3 on Outposts buckets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessControlTranslation

        Destination.Builder accessControlTranslation​(AccessControlTranslation accessControlTranslation)

        Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.

        This is not supported by Amazon S3 on Outposts buckets.

        Parameters:
        accessControlTranslation - Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.

        This is not supported by Amazon S3 on Outposts buckets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionConfiguration

        Destination.Builder encryptionConfiguration​(EncryptionConfiguration encryptionConfiguration)

        A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element.

        This is not supported by Amazon S3 on Outposts buckets.

        Parameters:
        encryptionConfiguration - A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element.

        This is not supported by Amazon S3 on Outposts buckets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metrics

        Destination.Builder metrics​(Metrics metrics)

        A container that specifies replication metrics-related settings.

        Parameters:
        metrics - A container that specifies replication metrics-related settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageClass

        Destination.Builder storageClass​(String storageClass)

        The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to create the object replicas.

        Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.

        Parameters:
        storageClass - The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to create the object replicas.

        Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReplicationStorageClass, ReplicationStorageClass
      • storageClass

        Destination.Builder storageClass​(ReplicationStorageClass storageClass)

        The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to create the object replicas.

        Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.

        Parameters:
        storageClass - The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to create the object replicas.

        Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReplicationStorageClass, ReplicationStorageClass