Struct aws_sdk_s3::types::builders::MetricsBuilder
source · #[non_exhaustive]pub struct MetricsBuilder { /* private fields */ }
Expand description
A builder for Metrics
.
Implementations§
source§impl MetricsBuilder
impl MetricsBuilder
sourcepub fn status(self, input: MetricsStatus) -> Self
pub fn status(self, input: MetricsStatus) -> Self
Specifies whether the replication metrics are enabled.
sourcepub fn set_status(self, input: Option<MetricsStatus>) -> Self
pub fn set_status(self, input: Option<MetricsStatus>) -> Self
Specifies whether the replication metrics are enabled.
sourcepub fn get_status(&self) -> &Option<MetricsStatus>
pub fn get_status(&self) -> &Option<MetricsStatus>
Specifies whether the replication metrics are enabled.
sourcepub fn event_threshold(self, input: ReplicationTimeValue) -> Self
pub fn event_threshold(self, input: ReplicationTimeValue) -> Self
A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold
event.
sourcepub fn set_event_threshold(self, input: Option<ReplicationTimeValue>) -> Self
pub fn set_event_threshold(self, input: Option<ReplicationTimeValue>) -> Self
A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold
event.
sourcepub fn get_event_threshold(&self) -> &Option<ReplicationTimeValue>
pub fn get_event_threshold(&self) -> &Option<ReplicationTimeValue>
A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold
event.
Trait Implementations§
source§impl Clone for MetricsBuilder
impl Clone for MetricsBuilder
source§fn clone(&self) -> MetricsBuilder
fn clone(&self) -> MetricsBuilder
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 MetricsBuilder
impl Debug for MetricsBuilder
source§impl Default for MetricsBuilder
impl Default for MetricsBuilder
source§fn default() -> MetricsBuilder
fn default() -> MetricsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<MetricsBuilder> for MetricsBuilder
impl PartialEq<MetricsBuilder> for MetricsBuilder
source§fn eq(&self, other: &MetricsBuilder) -> bool
fn eq(&self, other: &MetricsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetricsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MetricsBuilder
impl Send for MetricsBuilder
impl Sync for MetricsBuilder
impl Unpin for MetricsBuilder
impl UnwindSafe for MetricsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more