Struct aws_sdk_s3control::types::builders::DestinationBuilder
source · #[non_exhaustive]pub struct DestinationBuilder { /* private fields */ }
Expand description
A builder for Destination
.
Implementations§
source§impl DestinationBuilder
impl DestinationBuilder
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The destination bucket owner's account ID.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The destination bucket owner's account ID.
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
sourcepub fn replication_time(self, input: ReplicationTime) -> Self
pub fn replication_time(self, input: ReplicationTime) -> Self
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.
sourcepub fn set_replication_time(self, input: Option<ReplicationTime>) -> Self
pub fn set_replication_time(self, input: Option<ReplicationTime>) -> Self
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.
sourcepub fn access_control_translation(self, input: AccessControlTranslation) -> Self
pub fn access_control_translation(self, input: AccessControlTranslation) -> Self
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.
sourcepub fn set_access_control_translation(
self,
input: Option<AccessControlTranslation>
) -> Self
pub fn set_access_control_translation( self, input: Option<AccessControlTranslation> ) -> Self
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.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
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.
sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration( self, input: Option<EncryptionConfiguration> ) -> Self
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.
sourcepub fn metrics(self, input: Metrics) -> Self
pub fn metrics(self, input: Metrics) -> Self
A container that specifies replication metrics-related settings.
sourcepub fn set_metrics(self, input: Option<Metrics>) -> Self
pub fn set_metrics(self, input: Option<Metrics>) -> Self
A container that specifies replication metrics-related settings.
sourcepub fn storage_class(self, input: ReplicationStorageClass) -> Self
pub fn storage_class(self, input: ReplicationStorageClass) -> Self
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.
sourcepub fn set_storage_class(self, input: Option<ReplicationStorageClass>) -> Self
pub fn set_storage_class(self, input: Option<ReplicationStorageClass>) -> Self
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.
sourcepub fn build(self) -> Destination
pub fn build(self) -> Destination
Consumes the builder and constructs a Destination
.
Trait Implementations§
source§impl Clone for DestinationBuilder
impl Clone for DestinationBuilder
source§fn clone(&self) -> DestinationBuilder
fn clone(&self) -> DestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DestinationBuilder
impl Debug for DestinationBuilder
source§impl Default for DestinationBuilder
impl Default for DestinationBuilder
source§fn default() -> DestinationBuilder
fn default() -> DestinationBuilder
source§impl PartialEq<DestinationBuilder> for DestinationBuilder
impl PartialEq<DestinationBuilder> for DestinationBuilder
source§fn eq(&self, other: &DestinationBuilder) -> bool
fn eq(&self, other: &DestinationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.