Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::MetricsBuilder
#[non_exhaustive]pub struct MetricsBuilder { /* private fields */ }
Expand description
A builder for Metrics
.
Implementations§
§impl MetricsBuilder
impl MetricsBuilder
pub fn status(self, input: MetricsStatus) -> MetricsBuilder
pub fn status(self, input: MetricsStatus) -> MetricsBuilder
Specifies whether the replication metrics are enabled.
pub fn set_status(self, input: Option<MetricsStatus>) -> MetricsBuilder
pub fn set_status(self, input: Option<MetricsStatus>) -> MetricsBuilder
Specifies whether the replication metrics are enabled.
pub fn get_status(&self) -> &Option<MetricsStatus>
pub fn get_status(&self) -> &Option<MetricsStatus>
Specifies whether the replication metrics are enabled.
pub fn event_threshold(self, input: ReplicationTimeValue) -> MetricsBuilder
pub fn event_threshold(self, input: ReplicationTimeValue) -> MetricsBuilder
A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold
event.
pub fn set_event_threshold(
self,
input: Option<ReplicationTimeValue>
) -> MetricsBuilder
pub fn set_event_threshold( self, input: Option<ReplicationTimeValue> ) -> MetricsBuilder
A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold
event.
pub 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§
§impl Clone for MetricsBuilder
impl Clone for MetricsBuilder
§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 more§impl Debug for MetricsBuilder
impl Debug for MetricsBuilder
§impl Default for MetricsBuilder
impl Default for MetricsBuilder
§fn default() -> MetricsBuilder
fn default() -> MetricsBuilder
Returns the “default value” for a type. Read more
§impl PartialEq for MetricsBuilder
impl PartialEq for MetricsBuilder
§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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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