public static final class CfnStorageLens.StorageLensConfigurationProperty.Builder
extends java.lang.Object
CfnStorageLens.StorageLensConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnStorageLens.StorageLensConfigurationProperty.Builder accountLevel(IResolvable accountLevel)
CfnStorageLens.StorageLensConfigurationProperty.getAccountLevel()
accountLevel
- This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration. This parameter is required.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder accountLevel(CfnStorageLens.AccountLevelProperty accountLevel)
CfnStorageLens.StorageLensConfigurationProperty.getAccountLevel()
accountLevel
- This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration. This parameter is required.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder id(java.lang.String id)
CfnStorageLens.StorageLensConfigurationProperty.getId()
id
- This property contains the details of the ID of the S3 Storage Lens configuration. This parameter is required.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder isEnabled(java.lang.Boolean isEnabled)
CfnStorageLens.StorageLensConfigurationProperty.getIsEnabled()
isEnabled
- This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled. This parameter is required.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder isEnabled(IResolvable isEnabled)
CfnStorageLens.StorageLensConfigurationProperty.getIsEnabled()
isEnabled
- This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled. This parameter is required.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder awsOrg(IResolvable awsOrg)
CfnStorageLens.StorageLensConfigurationProperty.getAwsOrg()
awsOrg
- This property contains the details of the AWS Organization for the S3 Storage Lens configuration.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder awsOrg(CfnStorageLens.AwsOrgProperty awsOrg)
CfnStorageLens.StorageLensConfigurationProperty.getAwsOrg()
awsOrg
- This property contains the details of the AWS Organization for the S3 Storage Lens configuration.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder dataExport(IResolvable dataExport)
CfnStorageLens.StorageLensConfigurationProperty.getDataExport()
dataExport
- This property contains the details of this S3 Storage Lens configuration's metrics export.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder dataExport(CfnStorageLens.DataExportProperty dataExport)
CfnStorageLens.StorageLensConfigurationProperty.getDataExport()
dataExport
- This property contains the details of this S3 Storage Lens configuration's metrics export.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder exclude(IResolvable exclude)
CfnStorageLens.StorageLensConfigurationProperty.getExclude()
exclude
- This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder exclude(CfnStorageLens.BucketsAndRegionsProperty exclude)
CfnStorageLens.StorageLensConfigurationProperty.getExclude()
exclude
- This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder include(IResolvable include)
CfnStorageLens.StorageLensConfigurationProperty.getInclude()
include
- This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder include(CfnStorageLens.BucketsAndRegionsProperty include)
CfnStorageLens.StorageLensConfigurationProperty.getInclude()
include
- This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.this
public CfnStorageLens.StorageLensConfigurationProperty.Builder storageLensArn(java.lang.String storageLensArn)
CfnStorageLens.StorageLensConfigurationProperty.getStorageLensArn()
storageLensArn
- This property contains the details of the ARN of the S3 Storage Lens configuration.
This property is read-only.this
public CfnStorageLens.StorageLensConfigurationProperty build()
CfnStorageLens.StorageLensConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided