Struct aws_sdk_s3::model::metrics::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Metrics
.
Implementations§
source§impl Builder
impl Builder
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 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.