Class CfnBucket.StorageClassAnalysisProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.StorageClassAnalysisProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.StorageClassAnalysisProperty>
- Enclosing interface:
CfnBucket.StorageClassAnalysisProperty
@Stability(Stable)
public static final class CfnBucket.StorageClassAnalysisProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.StorageClassAnalysisProperty>
A builder for
CfnBucket.StorageClassAnalysisProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataExport
(IResolvable dataExport) Sets the value ofCfnBucket.StorageClassAnalysisProperty.getDataExport()
dataExport
(CfnBucket.DataExportProperty dataExport) Sets the value ofCfnBucket.StorageClassAnalysisProperty.getDataExport()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataExport
@Stability(Stable) public CfnBucket.StorageClassAnalysisProperty.Builder dataExport(IResolvable dataExport) Sets the value ofCfnBucket.StorageClassAnalysisProperty.getDataExport()
- Parameters:
dataExport
- Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.- Returns:
this
-
dataExport
@Stability(Stable) public CfnBucket.StorageClassAnalysisProperty.Builder dataExport(CfnBucket.DataExportProperty dataExport) Sets the value ofCfnBucket.StorageClassAnalysisProperty.getDataExport()
- Parameters:
dataExport
- Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.StorageClassAnalysisProperty>
- Returns:
- a new instance of
CfnBucket.StorageClassAnalysisProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-