#[non_exhaustive]pub struct ReplicationConfigurationBuilder { /* private fields */ }
Expand description
A builder for ReplicationConfiguration
.
Implementations§
source§impl ReplicationConfigurationBuilder
impl ReplicationConfigurationBuilder
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
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 set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
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, input: ReplicationRule) -> Self
pub fn rules(self, input: ReplicationRule) -> Self
Appends an item to rules
.
To override the contents of this collection use set_rules
.
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.
sourcepub fn set_rules(self, input: Option<Vec<ReplicationRule>>) -> Self
pub fn set_rules(self, input: Option<Vec<ReplicationRule>>) -> Self
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.
sourcepub fn build(self) -> ReplicationConfiguration
pub fn build(self) -> ReplicationConfiguration
Consumes the builder and constructs a ReplicationConfiguration
.
Trait Implementations§
source§impl Clone for ReplicationConfigurationBuilder
impl Clone for ReplicationConfigurationBuilder
source§fn clone(&self) -> ReplicationConfigurationBuilder
fn clone(&self) -> ReplicationConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReplicationConfigurationBuilder
impl Default for ReplicationConfigurationBuilder
source§fn default() -> ReplicationConfigurationBuilder
fn default() -> ReplicationConfigurationBuilder
source§impl PartialEq<ReplicationConfigurationBuilder> for ReplicationConfigurationBuilder
impl PartialEq<ReplicationConfigurationBuilder> for ReplicationConfigurationBuilder
source§fn eq(&self, other: &ReplicationConfigurationBuilder) -> bool
fn eq(&self, other: &ReplicationConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.