Interface CfnStorageLens.AccountLevelProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStorageLens.AccountLevelProperty.Jsii$Proxy
- Enclosing class:
- CfnStorageLens
@Stability(Stable)
public static interface CfnStorageLens.AccountLevelProperty
extends software.amazon.jsii.JsiiSerializable
This resource contains the details of the account-level metrics for Amazon S3 Storage Lens.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
AccountLevelProperty accountLevelProperty = AccountLevelProperty.builder()
.bucketLevel(BucketLevelProperty.builder()
.activityMetrics(ActivityMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedCostOptimizationMetrics(AdvancedCostOptimizationMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedDataProtectionMetrics(AdvancedDataProtectionMetricsProperty.builder()
.isEnabled(false)
.build())
.detailedStatusCodesMetrics(DetailedStatusCodesMetricsProperty.builder()
.isEnabled(false)
.build())
.prefixLevel(PrefixLevelProperty.builder()
.storageMetrics(PrefixLevelStorageMetricsProperty.builder()
.isEnabled(false)
.selectionCriteria(SelectionCriteriaProperty.builder()
.delimiter("delimiter")
.maxDepth(123)
.minStorageBytesPercentage(123)
.build())
.build())
.build())
.build())
// the properties below are optional
.activityMetrics(ActivityMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedCostOptimizationMetrics(AdvancedCostOptimizationMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedDataProtectionMetrics(AdvancedDataProtectionMetricsProperty.builder()
.isEnabled(false)
.build())
.detailedStatusCodesMetrics(DetailedStatusCodesMetricsProperty.builder()
.isEnabled(false)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStorageLens.AccountLevelPropertystatic final classAn implementation forCfnStorageLens.AccountLevelProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThis property contains the details of account-level activity metrics for S3 Storage Lens.default ObjectThis property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.default ObjectThis property contains the details of account-level advanced data protection metrics for S3 Storage Lens.This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.default ObjectThis property contains the details of account-level detailed status code metrics for S3 Storage Lens.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketLevel
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. -
getActivityMetrics
This property contains the details of account-level activity metrics for S3 Storage Lens. -
getAdvancedCostOptimizationMetrics
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens. -
getAdvancedDataProtectionMetrics
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens. -
getDetailedStatusCodesMetrics
This property contains the details of account-level detailed status code metrics for S3 Storage Lens. -
builder
-