Class CfnStorageLens.StorageLensTableDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.StorageLensTableDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens.StorageLensTableDestinationProperty>
- Enclosing interface:
CfnStorageLens.StorageLensTableDestinationProperty
@Stability(Stable)
public static final class CfnStorageLens.StorageLensTableDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLens.StorageLensTableDestinationProperty>
A builder for
CfnStorageLens.StorageLensTableDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryption(IResolvable encryption) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getEncryption()encryption(CfnStorageLens.EncryptionProperty encryption) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getEncryption()Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getIsEnabled()isEnabled(IResolvable isEnabled) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getIsEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isEnabled
@Stability(Stable) public CfnStorageLens.StorageLensTableDestinationProperty.Builder isEnabled(Boolean isEnabled) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getIsEnabled()- Parameters:
isEnabled- This property indicates whether the export to read-only S3 table buckets is enabled for your S3 Storage Lens configuration. This parameter is required. When set to true, Storage Lens reports are automatically exported to tables in addition to other configured destinations.- Returns:
this
-
isEnabled
@Stability(Stable) public CfnStorageLens.StorageLensTableDestinationProperty.Builder isEnabled(IResolvable isEnabled) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getIsEnabled()- Parameters:
isEnabled- This property indicates whether the export to read-only S3 table buckets is enabled for your S3 Storage Lens configuration. This parameter is required. When set to true, Storage Lens reports are automatically exported to tables in addition to other configured destinations.- Returns:
this
-
encryption
@Stability(Stable) public CfnStorageLens.StorageLensTableDestinationProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getEncryption()- Parameters:
encryption- This resource configures your data encryption settings for Storage Lens metrics in read-only S3 table buckets.- Returns:
this
-
encryption
@Stability(Stable) public CfnStorageLens.StorageLensTableDestinationProperty.Builder encryption(CfnStorageLens.EncryptionProperty encryption) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getEncryption()- Parameters:
encryption- This resource configures your data encryption settings for Storage Lens metrics in read-only S3 table buckets.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLens.StorageLensTableDestinationProperty>- Returns:
- a new instance of
CfnStorageLens.StorageLensTableDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-