Struct aws_sdk_s3control::types::ReplicationConfiguration
source · #[non_exhaustive]pub struct ReplicationConfiguration { /* private fields */ }
Expand description
A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB.
Implementations§
source§impl ReplicationConfiguration
impl ReplicationConfiguration
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that S3 on Outposts assumes when replicating objects. For information about S3 replication on Outposts configuration, see Setting up replication in the Amazon S3 User Guide.
sourcepub fn rules(&self) -> Option<&[ReplicationRule]>
pub fn rules(&self) -> Option<&[ReplicationRule]>
A container for one or more replication rules. A replication configuration must have at least one rule and can contain an array of 100 rules at the most.
source§impl ReplicationConfiguration
impl ReplicationConfiguration
sourcepub fn builder() -> ReplicationConfigurationBuilder
pub fn builder() -> ReplicationConfigurationBuilder
Creates a new builder-style object to manufacture ReplicationConfiguration
.
Trait Implementations§
source§impl Clone for ReplicationConfiguration
impl Clone for ReplicationConfiguration
source§fn clone(&self) -> ReplicationConfiguration
fn clone(&self) -> ReplicationConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReplicationConfiguration
impl Debug for ReplicationConfiguration
source§impl PartialEq<ReplicationConfiguration> for ReplicationConfiguration
impl PartialEq<ReplicationConfiguration> for ReplicationConfiguration
source§fn eq(&self, other: &ReplicationConfiguration) -> bool
fn eq(&self, other: &ReplicationConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.