Struct aws_sdk_s3::model::ReplicationConfiguration
source · [−]#[non_exhaustive]pub struct ReplicationConfiguration { /* private fields */ }
Expand description
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
Implementations
sourceimpl 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 Amazon S3 assumes when replicating objects. For more information, see How to Set 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 a maximum of 1,000 rules.
sourceimpl ReplicationConfiguration
impl ReplicationConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicationConfiguration
.
Trait Implementations
sourceimpl Clone for ReplicationConfiguration
impl Clone for ReplicationConfiguration
sourcefn clone(&self) -> ReplicationConfiguration
fn clone(&self) -> ReplicationConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ReplicationConfiguration
impl Debug for ReplicationConfiguration
sourceimpl PartialEq<ReplicationConfiguration> for ReplicationConfiguration
impl PartialEq<ReplicationConfiguration> for ReplicationConfiguration
sourcefn eq(&self, other: &ReplicationConfiguration) -> bool
fn eq(&self, other: &ReplicationConfiguration) -> bool
impl StructuralPartialEq for ReplicationConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ReplicationConfiguration
impl Send for ReplicationConfiguration
impl Sync for ReplicationConfiguration
impl Unpin for ReplicationConfiguration
impl UnwindSafe for ReplicationConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more