Class Destination

    • Method Detail

      • account

        public final String account()

        The destination bucket owner's account ID.

        Returns:
        The destination bucket owner's account ID.
      • bucket

        public final 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.

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

        public final 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.

        Returns:
        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.

      • accessControlTranslation

        public final 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.

        Returns:
        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.

      • encryptionConfiguration

        public final 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.

        Returns:
        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.

      • metrics

        public final Metrics metrics()

        A container that specifies replication metrics-related settings.

        Returns:
        A container that specifies replication metrics-related settings.
      • storageClass

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, storageClass will return ReplicationStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from storageClassAsString().

        Returns:
        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.

        See Also:
        ReplicationStorageClass
      • storageClassAsString

        public final String storageClassAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, storageClass will return ReplicationStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from storageClassAsString().

        Returns:
        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.

        See Also:
        ReplicationStorageClass
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)