Class CfnStorageLensPropsMixin.AccountLevelProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensPropsMixin.AccountLevelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensPropsMixin.AccountLevelProperty>
- Enclosing interface:
CfnStorageLensPropsMixin.AccountLevelProperty
@Stability(Stable)
public static final class CfnStorageLensPropsMixin.AccountLevelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensPropsMixin.AccountLevelProperty>
A builder for
CfnStorageLensPropsMixin.AccountLevelProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityMetrics(CfnStorageLensPropsMixin.ActivityMetricsProperty activityMetrics) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getActivityMetrics()activityMetrics(IResolvable activityMetrics) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getActivityMetrics()advancedCostOptimizationMetrics(CfnStorageLensPropsMixin.AdvancedCostOptimizationMetricsProperty advancedCostOptimizationMetrics) advancedCostOptimizationMetrics(IResolvable advancedCostOptimizationMetrics) advancedDataProtectionMetrics(CfnStorageLensPropsMixin.AdvancedDataProtectionMetricsProperty advancedDataProtectionMetrics) advancedDataProtectionMetrics(IResolvable advancedDataProtectionMetrics) advancedPerformanceMetrics(CfnStorageLensPropsMixin.AdvancedPerformanceMetricsProperty advancedPerformanceMetrics) advancedPerformanceMetrics(IResolvable advancedPerformanceMetrics) bucketLevel(CfnStorageLensPropsMixin.BucketLevelProperty bucketLevel) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getBucketLevel()bucketLevel(IResolvable bucketLevel) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getBucketLevel()build()Builds the configured instance.detailedStatusCodesMetrics(CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty detailedStatusCodesMetrics) detailedStatusCodesMetrics(IResolvable detailedStatusCodesMetrics) storageLensGroupLevel(CfnStorageLensPropsMixin.StorageLensGroupLevelProperty storageLensGroupLevel) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getStorageLensGroupLevel()storageLensGroupLevel(IResolvable storageLensGroupLevel) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getStorageLensGroupLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activityMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder activityMetrics(IResolvable activityMetrics) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getActivityMetrics()- Parameters:
activityMetrics- This property contains the details of account-level activity metrics for S3 Storage Lens.- Returns:
this
-
activityMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder activityMetrics(CfnStorageLensPropsMixin.ActivityMetricsProperty activityMetrics) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getActivityMetrics()- Parameters:
activityMetrics- This property contains the details of account-level activity metrics for S3 Storage Lens.- Returns:
this
-
advancedCostOptimizationMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder advancedCostOptimizationMetrics(IResolvable advancedCostOptimizationMetrics) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getAdvancedCostOptimizationMetrics()- Parameters:
advancedCostOptimizationMetrics- This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.- Returns:
this
-
advancedCostOptimizationMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder advancedCostOptimizationMetrics(CfnStorageLensPropsMixin.AdvancedCostOptimizationMetricsProperty advancedCostOptimizationMetrics) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getAdvancedCostOptimizationMetrics()- Parameters:
advancedCostOptimizationMetrics- This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.- Returns:
this
-
advancedDataProtectionMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder advancedDataProtectionMetrics(IResolvable advancedDataProtectionMetrics) - Parameters:
advancedDataProtectionMetrics- This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.- Returns:
this
-
advancedDataProtectionMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder advancedDataProtectionMetrics(CfnStorageLensPropsMixin.AdvancedDataProtectionMetricsProperty advancedDataProtectionMetrics) - Parameters:
advancedDataProtectionMetrics- This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.- Returns:
this
-
advancedPerformanceMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder advancedPerformanceMetrics(IResolvable advancedPerformanceMetrics) - Parameters:
advancedPerformanceMetrics- This property contains the account-level details for S3 Storage Lens advanced performance metrics.- Returns:
this
-
advancedPerformanceMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder advancedPerformanceMetrics(CfnStorageLensPropsMixin.AdvancedPerformanceMetricsProperty advancedPerformanceMetrics) - Parameters:
advancedPerformanceMetrics- This property contains the account-level details for S3 Storage Lens advanced performance metrics.- Returns:
this
-
bucketLevel
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder bucketLevel(IResolvable bucketLevel) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getBucketLevel()- Parameters:
bucketLevel- This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level.- Returns:
this
-
bucketLevel
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder bucketLevel(CfnStorageLensPropsMixin.BucketLevelProperty bucketLevel) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getBucketLevel()- Parameters:
bucketLevel- This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level.- Returns:
this
-
detailedStatusCodesMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder detailedStatusCodesMetrics(IResolvable detailedStatusCodesMetrics) - Parameters:
detailedStatusCodesMetrics- This property contains the details of account-level detailed status code metrics for S3 Storage Lens.- Returns:
this
-
detailedStatusCodesMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder detailedStatusCodesMetrics(CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty detailedStatusCodesMetrics) - Parameters:
detailedStatusCodesMetrics- This property contains the details of account-level detailed status code metrics for S3 Storage Lens.- Returns:
this
-
storageLensGroupLevel
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder storageLensGroupLevel(IResolvable storageLensGroupLevel) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getStorageLensGroupLevel()- Parameters:
storageLensGroupLevel- This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.- Returns:
this
-
storageLensGroupLevel
@Stability(Stable) public CfnStorageLensPropsMixin.AccountLevelProperty.Builder storageLensGroupLevel(CfnStorageLensPropsMixin.StorageLensGroupLevelProperty storageLensGroupLevel) Sets the value ofCfnStorageLensPropsMixin.AccountLevelProperty.getStorageLensGroupLevel()- Parameters:
storageLensGroupLevel- This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensPropsMixin.AccountLevelProperty>- Returns:
- a new instance of
CfnStorageLensPropsMixin.AccountLevelProperty - Throws:
NullPointerException- if any required attribute was not provided
-