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- Specifies whether the export to S3 Tables is enabled or disabled. This parameter is required.- Returns:
this
-
isEnabled
@Stability(Stable) public CfnStorageLens.StorageLensTableDestinationProperty.Builder isEnabled(IResolvable isEnabled) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getIsEnabled()- Parameters:
isEnabled- Specifies whether the export to S3 Tables is enabled or disabled. This parameter is required.- Returns:
this
-
encryption
@Stability(Stable) public CfnStorageLens.StorageLensTableDestinationProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getEncryption()- Parameters:
encryption- Configures the server-side encryption for Amazon S3 Storage Lens report files with either S3-managed keys (SSE-S3) or KMS-managed keys (SSE-KMS).- Returns:
this
-
encryption
@Stability(Stable) public CfnStorageLens.StorageLensTableDestinationProperty.Builder encryption(CfnStorageLens.EncryptionProperty encryption) Sets the value ofCfnStorageLens.StorageLensTableDestinationProperty.getEncryption()- Parameters:
encryption- Configures the server-side encryption for Amazon S3 Storage Lens report files with either S3-managed keys (SSE-S3) or KMS-managed keys (SSE-KMS).- 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
-