public static interface Destination.Builder extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
| Modifier and Type | Method and Description |
|---|---|
Destination.Builder |
accessControlTranslation(AccessControlTranslation accessControlTranslation)
Specify this only in a cross-account scenario (where source and destination bucket owners are not the same),
and you want to change replica ownership to the AWS account that owns the destination bucket.
|
default Destination.Builder |
accessControlTranslation(Consumer<AccessControlTranslation.Builder> accessControlTranslation)
Specify this only in a cross-account scenario (where source and destination bucket owners are not the same),
and you want to change replica ownership to the AWS account that owns the destination bucket.
|
Destination.Builder |
account(String account)
Destination bucket owner account ID.
|
Destination.Builder |
bucket(String bucket)
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the 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 specifying replication metrics-related settings enabling metrics and Amazon S3 events for S3
Replication Time Control (S3 RTC).
|
Destination.Builder |
metrics(Metrics metrics)
A container specifying replication metrics-related settings enabling metrics and Amazon S3 events for S3
Replication Time Control (S3 RTC).
|
default Destination.Builder |
replicationTime(Consumer<ReplicationTime.Builder> replicationTime)
A container specifying S3 Replication Time Control (S3 RTC), 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 specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time
when all objects and operations on objects must be replicated.
|
Destination.Builder |
storageClass(StorageClass storageClass)
The storage class to use when replicating objects, such as standard or reduced redundancy.
|
Destination.Builder |
storageClass(String storageClass)
The storage class to use when replicating objects, such as standard or reduced redundancy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDestination.Builder bucket(String bucket)
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
bucket - The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.Destination.Builder account(String account)
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica
ownership to the AWS account that owns the destination bucket by specifying the
AccessControlTranslation property, this is the account ID of the destination bucket owner. For
more information, see Replication Additional
Configuration: Changing the Replica Owner in the Amazon Simple Storage Service Developer Guide.
account - Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change
replica ownership to the AWS account that owns the destination bucket by specifying the
AccessControlTranslation property, this is the account ID of the destination bucket
owner. For more information, see Replication
Additional Configuration: Changing the Replica Owner in the Amazon Simple Storage Service
Developer Guide.Destination.Builder storageClass(String storageClass)
The storage class to use when replicating objects, such as standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the StorageClass element of the PUT Bucket
replication action in the Amazon Simple Storage Service API Reference.
storageClass - The storage class to use when replicating objects, such as standard or reduced redundancy. By default,
Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the StorageClass element of the PUT Bucket
replication action in the Amazon Simple Storage Service API Reference.
StorageClass,
StorageClassDestination.Builder storageClass(StorageClass storageClass)
The storage class to use when replicating objects, such as standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the StorageClass element of the PUT Bucket
replication action in the Amazon Simple Storage Service API Reference.
storageClass - The storage class to use when replicating objects, such as standard or reduced redundancy. By default,
Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the StorageClass element of the PUT Bucket
replication action in the Amazon Simple Storage Service API Reference.
StorageClass,
StorageClassDestination.Builder accessControlTranslation(AccessControlTranslation accessControlTranslation)
Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object.
accessControlTranslation - Specify this only in a cross-account scenario (where source and destination bucket owners are not the
same), and you want to change replica ownership to the AWS account that owns the destination bucket.
If this is not specified in the replication configuration, the replicas are owned by same AWS account
that owns the source object.default Destination.Builder accessControlTranslation(Consumer<AccessControlTranslation.Builder> accessControlTranslation)
Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object.
This is a convenience that creates an instance of theAccessControlTranslation.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.
encryptionConfiguration - A container that provides information about encryption. If SourceSelectionCriteria is
specified, you must specify this element.default Destination.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
A container that provides information about encryption. If SourceSelectionCriteria is specified,
you must specify this element.
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 replicationTime(ReplicationTime replicationTime)
A container specifying S3 Replication Time Control (S3 RTC), 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.
replicationTime - A container specifying S3 Replication Time Control (S3 RTC), 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.default Destination.Builder replicationTime(Consumer<ReplicationTime.Builder> replicationTime)
A container specifying S3 Replication Time Control (S3 RTC), 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.
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 metrics(Metrics metrics)
A container specifying replication metrics-related settings enabling metrics and Amazon S3 events for S3
Replication Time Control (S3 RTC). Must be specified together with a ReplicationTime block.
metrics - A container specifying replication metrics-related settings enabling metrics and Amazon S3 events for
S3 Replication Time Control (S3 RTC). Must be specified together with a ReplicationTime
block.default Destination.Builder metrics(Consumer<Metrics.Builder> metrics)
A container specifying replication metrics-related settings enabling metrics and Amazon S3 events for S3
Replication Time Control (S3 RTC). Must be specified together with a ReplicationTime block.
Metrics.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)Copyright © 2020. All rights reserved.