public static interface Destination.Builder extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
| Modifier and Type | Method and Description |
|---|---|
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.
|
default Destination.Builder |
accessControlTranslation(Consumer<AccessControlTranslation.Builder> 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.
|
Destination.Builder |
account(String account)
The destination bucket owner's account ID.
|
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.
|
default Destination.Builder |
encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
A container that provides information about encryption.
|
Destination.Builder |
encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A container that provides information about encryption.
|
default Destination.Builder |
metrics(Consumer<Metrics.Builder> metrics)
A container that specifies replication metrics-related settings.
|
Destination.Builder |
metrics(Metrics metrics)
A container that specifies replication metrics-related settings.
|
default Destination.Builder |
replicationTime(Consumer<ReplicationTime.Builder> 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.
|
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.
|
Destination.Builder |
storageClass(ReplicationStorageClass storageClass)
The storage class to use when replicating objects.
|
Destination.Builder |
storageClass(String storageClass)
The storage class to use when replicating objects.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDestination.Builder account(String account)
The destination bucket owner's account ID.
account - The destination bucket owner's account ID.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.
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.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.
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.
default Destination.Builder replicationTime(Consumer<ReplicationTime.Builder> 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.
ReplicationTime.Builder avoiding
the need to create one manually via ReplicationTime.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to replicationTime(ReplicationTime).
replicationTime - a consumer that will call methods on ReplicationTime.BuilderreplicationTime(ReplicationTime)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.
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.
default Destination.Builder accessControlTranslation(Consumer<AccessControlTranslation.Builder> 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.
AccessControlTranslation.Builder
avoiding the need to create one manually via AccessControlTranslation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to accessControlTranslation(AccessControlTranslation).
accessControlTranslation - a consumer that will call methods on AccessControlTranslation.BuilderaccessControlTranslation(AccessControlTranslation)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.
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.
default Destination.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> 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.
EncryptionConfiguration.Builder
avoiding the need to create one manually via EncryptionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to encryptionConfiguration(EncryptionConfiguration).
encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.BuilderencryptionConfiguration(EncryptionConfiguration)Destination.Builder metrics(Metrics metrics)
A container that specifies replication metrics-related settings.
metrics - A container that specifies replication metrics-related settings.default Destination.Builder metrics(Consumer<Metrics.Builder> metrics)
A container that specifies replication metrics-related settings.
This is a convenience method that creates an instance of theMetrics.Builder avoiding the need to
create one manually via Metrics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to metrics(Metrics).
metrics - a consumer that will call methods on Metrics.Buildermetrics(Metrics)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.
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.
ReplicationStorageClass,
ReplicationStorageClassDestination.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.
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.
ReplicationStorageClass,
ReplicationStorageClassCopyright © 2023. All rights reserved.