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.
This field is required.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 for MetricsBuilder
impl PartialEq for MetricsBuilder
impl StructuralPartialEq for MetricsBuilder
Auto Trait Implementations§
impl Freeze for MetricsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.