Class CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensPropsMixin.StorageLensConfigurationProperty>
- Enclosing interface:
CfnStorageLensPropsMixin.StorageLensConfigurationProperty
@Stability(Stable)
public static final class CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensPropsMixin.StorageLensConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountLevel(CfnStorageLensPropsMixin.AccountLevelProperty accountLevel) accountLevel(IResolvable accountLevel) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getAwsOrg()awsOrg(IResolvable awsOrg) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getAwsOrg()build()Builds the configured instance.dataExport(IResolvable dataExport) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getExclude()exclude(IResolvable exclude) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getExclude()expandedPrefixesDataExport(CfnStorageLensPropsMixin.StorageLensExpandedPrefixesDataExportProperty expandedPrefixesDataExport) expandedPrefixesDataExport(IResolvable expandedPrefixesDataExport) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getId()Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getInclude()include(IResolvable include) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getInclude()Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getIsEnabled()isEnabled(IResolvable isEnabled) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getIsEnabled()prefixDelimiter(String prefixDelimiter) storageLensArn(String storageLensArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountLevel
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder accountLevel(IResolvable accountLevel) - Parameters:
accountLevel- This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.- Returns:
this
-
accountLevel
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder accountLevel(CfnStorageLensPropsMixin.AccountLevelProperty accountLevel) - Parameters:
accountLevel- This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.- Returns:
this
-
awsOrg
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder awsOrg(IResolvable awsOrg) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getAwsOrg()- Parameters:
awsOrg- This property contains the details of the AWS Organization for the S3 Storage Lens configuration.- Returns:
this
-
awsOrg
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder awsOrg(CfnStorageLensPropsMixin.AwsOrgProperty awsOrg) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getAwsOrg()- Parameters:
awsOrg- This property contains the details of the AWS Organization for the S3 Storage Lens configuration.- Returns:
this
-
dataExport
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder dataExport(IResolvable dataExport) - Parameters:
dataExport- This property contains the details of this S3 Storage Lens configuration's metrics export.- Returns:
this
-
dataExport
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder dataExport(CfnStorageLensPropsMixin.DataExportProperty dataExport) - Parameters:
dataExport- This property contains the details of this S3 Storage Lens configuration's metrics export.- Returns:
this
-
exclude
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder exclude(IResolvable exclude) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getExclude()- Parameters:
exclude- This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.- Returns:
this
-
exclude
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder exclude(CfnStorageLensPropsMixin.BucketsAndRegionsProperty exclude) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getExclude()- Parameters:
exclude- This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.- Returns:
this
-
expandedPrefixesDataExport
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder expandedPrefixesDataExport(IResolvable expandedPrefixesDataExport) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getExpandedPrefixesDataExport()- Parameters:
expandedPrefixesDataExport- This property configures your S3 Storage Lens expanded prefixes metrics report.- Returns:
this
-
expandedPrefixesDataExport
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder expandedPrefixesDataExport(CfnStorageLensPropsMixin.StorageLensExpandedPrefixesDataExportProperty expandedPrefixesDataExport) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getExpandedPrefixesDataExport()- Parameters:
expandedPrefixesDataExport- This property configures your S3 Storage Lens expanded prefixes metrics report.- Returns:
this
-
id
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder id(String id) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getId()- Parameters:
id- This property contains the details of the ID of the S3 Storage Lens configuration.- Returns:
this
-
include
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder include(IResolvable include) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getInclude()- Parameters:
include- This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.- Returns:
this
-
include
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder include(CfnStorageLensPropsMixin.BucketsAndRegionsProperty include) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getInclude()- Parameters:
include- This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.- Returns:
this
-
isEnabled
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder isEnabled(Boolean isEnabled) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getIsEnabled()- Parameters:
isEnabled- This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.- Returns:
this
-
isEnabled
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder isEnabled(IResolvable isEnabled) Sets the value ofCfnStorageLensPropsMixin.StorageLensConfigurationProperty.getIsEnabled()- Parameters:
isEnabled- This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.- Returns:
this
-
prefixDelimiter
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder prefixDelimiter(String prefixDelimiter) - Parameters:
prefixDelimiter- The delimiter to divide S3 key into hierarchy of prefixes.- Returns:
this
-
storageLensArn
@Stability(Stable) public CfnStorageLensPropsMixin.StorageLensConfigurationProperty.Builder storageLensArn(String storageLensArn) - Parameters:
storageLensArn- This property contains the details of the ARN of the S3 Storage Lens configuration. This property is read-only.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensPropsMixin.StorageLensConfigurationProperty>- Returns:
- a new instance of
CfnStorageLensPropsMixin.StorageLensConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-