Struct aws_sdk_s3control::model::cloud_watch_metrics::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CloudWatchMetrics.
Implementations§
source§impl Builder
impl Builder
sourcepub fn is_enabled(self, input: bool) -> Self
pub fn is_enabled(self, input: bool) -> Self
A container that indicates whether CloudWatch publishing for S3 Storage Lens metrics is enabled. A value of true indicates that CloudWatch publishing for S3 Storage Lens metrics is enabled.
sourcepub fn set_is_enabled(self, input: Option<bool>) -> Self
pub fn set_is_enabled(self, input: Option<bool>) -> Self
A container that indicates whether CloudWatch publishing for S3 Storage Lens metrics is enabled. A value of true indicates that CloudWatch publishing for S3 Storage Lens metrics is enabled.
sourcepub fn build(self) -> CloudWatchMetrics
pub fn build(self) -> CloudWatchMetrics
Consumes the builder and constructs a CloudWatchMetrics.