Struct aws_sdk_s3::model::ReplicationTime
source · #[non_exhaustive]pub struct ReplicationTime { /* private fields */ }
Expand description
A container specifying S3 Replication Time Control (S3 RTC) related information, 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.
Implementations§
source§impl ReplicationTime
impl ReplicationTime
sourcepub fn status(&self) -> Option<&ReplicationTimeStatus>
pub fn status(&self) -> Option<&ReplicationTimeStatus>
Specifies whether the replication time is enabled.
sourcepub fn time(&self) -> Option<&ReplicationTimeValue>
pub fn time(&self) -> Option<&ReplicationTimeValue>
A container specifying the time by which replication should be complete for all objects and operations on objects.
source§impl ReplicationTime
impl ReplicationTime
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicationTime
.
Trait Implementations§
source§impl Clone for ReplicationTime
impl Clone for ReplicationTime
source§fn clone(&self) -> ReplicationTime
fn clone(&self) -> ReplicationTime
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 ReplicationTime
impl Debug for ReplicationTime
source§impl PartialEq<ReplicationTime> for ReplicationTime
impl PartialEq<ReplicationTime> for ReplicationTime
source§fn eq(&self, other: &ReplicationTime) -> bool
fn eq(&self, other: &ReplicationTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.