pub struct Builder { /* private fields */ }Expand description
A builder for StorageLensConfiguration.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
A container for the Amazon S3 Storage Lens configuration ID.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
A container for the Amazon S3 Storage Lens configuration ID.
sourcepub fn account_level(self, input: AccountLevel) -> Self
pub fn account_level(self, input: AccountLevel) -> Self
A container for all the account-level configurations of your S3 Storage Lens configuration.
sourcepub fn set_account_level(self, input: Option<AccountLevel>) -> Self
pub fn set_account_level(self, input: Option<AccountLevel>) -> Self
A container for all the account-level configurations of your S3 Storage Lens configuration.
sourcepub fn include(self, input: Include) -> Self
pub fn include(self, input: Include) -> Self
A container for what is included in this configuration. This container can only be valid if there is no Exclude container submitted, and it's not empty.
sourcepub fn set_include(self, input: Option<Include>) -> Self
pub fn set_include(self, input: Option<Include>) -> Self
A container for what is included in this configuration. This container can only be valid if there is no Exclude container submitted, and it's not empty.
sourcepub fn exclude(self, input: Exclude) -> Self
pub fn exclude(self, input: Exclude) -> Self
A container for what is excluded in this configuration. This container can only be valid if there is no Include container submitted, and it's not empty.
sourcepub fn set_exclude(self, input: Option<Exclude>) -> Self
pub fn set_exclude(self, input: Option<Exclude>) -> Self
A container for what is excluded in this configuration. This container can only be valid if there is no Include container submitted, and it's not empty.
sourcepub fn data_export(self, input: StorageLensDataExport) -> Self
pub fn data_export(self, input: StorageLensDataExport) -> Self
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
sourcepub fn set_data_export(self, input: Option<StorageLensDataExport>) -> Self
pub fn set_data_export(self, input: Option<StorageLensDataExport>) -> Self
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
sourcepub fn is_enabled(self, input: bool) -> Self
pub fn is_enabled(self, input: bool) -> Self
A container for whether the S3 Storage Lens configuration is enabled.
sourcepub fn set_is_enabled(self, input: Option<bool>) -> Self
pub fn set_is_enabled(self, input: Option<bool>) -> Self
A container for whether the S3 Storage Lens configuration is enabled.
sourcepub fn aws_org(self, input: StorageLensAwsOrg) -> Self
pub fn aws_org(self, input: StorageLensAwsOrg) -> Self
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
sourcepub fn set_aws_org(self, input: Option<StorageLensAwsOrg>) -> Self
pub fn set_aws_org(self, input: Option<StorageLensAwsOrg>) -> Self
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
sourcepub fn storage_lens_arn(self, input: impl Into<String>) -> Self
pub fn storage_lens_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
sourcepub fn set_storage_lens_arn(self, input: Option<String>) -> Self
pub fn set_storage_lens_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
sourcepub fn build(self) -> StorageLensConfiguration
pub fn build(self) -> StorageLensConfiguration
Consumes the builder and constructs a StorageLensConfiguration.