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();
 
  • Method Details

    • getBucketLevel

      @Stability(Stable) @NotNull Object getBucketLevel()
      This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.
    • getActivityMetrics

      @Stability(Stable) @Nullable default Object getActivityMetrics()
      This property contains the details of account-level activity metrics for S3 Storage Lens.
    • getAdvancedCostOptimizationMetrics

      @Stability(Stable) @Nullable default Object getAdvancedCostOptimizationMetrics()
      This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
    • getAdvancedDataProtectionMetrics

      @Stability(Stable) @Nullable default Object getAdvancedDataProtectionMetrics()
      This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
    • getDetailedStatusCodesMetrics

      @Stability(Stable) @Nullable default Object getDetailedStatusCodesMetrics()
      This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
    • builder

      @Stability(Stable) static CfnStorageLens.AccountLevelProperty.Builder builder()
      Returns:
      a CfnStorageLens.AccountLevelProperty.Builder of CfnStorageLens.AccountLevelProperty