Struct aws_sdk_s3control::model::storage_lens_data_export::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for StorageLensDataExport.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_bucket_destination(self, input: S3BucketDestination) -> Self
pub fn s3_bucket_destination(self, input: S3BucketDestination) -> Self
A container for the bucket where the S3 Storage Lens metrics export will be located.
This bucket must be located in the same Region as the storage lens configuration.
sourcepub fn set_s3_bucket_destination(
self,
input: Option<S3BucketDestination>
) -> Self
pub fn set_s3_bucket_destination(
self,
input: Option<S3BucketDestination>
) -> Self
A container for the bucket where the S3 Storage Lens metrics export will be located.
This bucket must be located in the same Region as the storage lens configuration.
sourcepub fn cloud_watch_metrics(self, input: CloudWatchMetrics) -> Self
pub fn cloud_watch_metrics(self, input: CloudWatchMetrics) -> Self
A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.
sourcepub fn set_cloud_watch_metrics(self, input: Option<CloudWatchMetrics>) -> Self
pub fn set_cloud_watch_metrics(self, input: Option<CloudWatchMetrics>) -> Self
A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.
sourcepub fn build(self) -> StorageLensDataExport
pub fn build(self) -> StorageLensDataExport
Consumes the builder and constructs a StorageLensDataExport.