Interface Destination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Destination.Builder,,Destination> SdkBuilder<Destination.Builder,,Destination> SdkPojo
- Enclosing class:
Destination
-
Method Summary
Modifier and TypeMethodDescriptiondefault Destination.BuilderaccessControlTranslation(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.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.The destination bucket owner's account ID.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.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) A container that provides information about encryption.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) A container that provides information about encryption.default Destination.Buildermetrics(Consumer<Metrics.Builder> metrics) A container that specifies replication metrics-related settings.A container that specifies replication metrics-related settings.default Destination.BuilderreplicationTime(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.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.storageClass(String storageClass) The storage class to use when replicating objects.storageClass(ReplicationStorageClass storageClass) The storage class to use when replicating objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
Metricsblock.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 aMetricsblock.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.
-
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
Metricsblock. This is a convenience method that creates an instance of theThis is not supported by Amazon S3 on Outposts buckets.
ReplicationTime.Builderavoiding the need to create one manually viaReplicationTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationTime(ReplicationTime).- Parameters:
replicationTime- a consumer that will call methods onReplicationTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
accessControlTranslation
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 a convenience method that creates an instance of theThis is not supported by Amazon S3 on Outposts buckets.
AccessControlTranslation.Builderavoiding the need to create one manually viaAccessControlTranslation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessControlTranslation(AccessControlTranslation).- Parameters:
accessControlTranslation- a consumer that will call methods onAccessControlTranslation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
A container that provides information about encryption. If
SourceSelectionCriteriais 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. IfSourceSelectionCriteriais 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.
-
encryptionConfiguration
default Destination.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) A container that provides information about encryption. If
SourceSelectionCriteriais specified, you must specify this element. This is a convenience method that creates an instance of theThis is not supported by Amazon S3 on Outposts buckets.
EncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
metrics
A container that specifies replication metrics-related settings.
This is a convenience method that creates an instance of theMetrics.Builderavoiding the need to create one manually viaMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometrics(Metrics).- Parameters:
metrics- a consumer that will call methods onMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageClass
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTSstorage class. S3 on Outposts uses theOUTPOSTSstorage class to create the object replicas.Values other than
OUTPOSTSaren't 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 theOUTPOSTSstorage class. S3 on Outposts uses theOUTPOSTSstorage class to create the object replicas.Values other than
OUTPOSTSaren't supported by Amazon S3 on Outposts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageClass
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTSstorage class. S3 on Outposts uses theOUTPOSTSstorage class to create the object replicas.Values other than
OUTPOSTSaren't 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 theOUTPOSTSstorage class. S3 on Outposts uses theOUTPOSTSstorage class to create the object replicas.Values other than
OUTPOSTSaren't supported by Amazon S3 on Outposts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-