Class CfnStorageLens.EncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.EncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens.EncryptionProperty>
- Enclosing interface:
CfnStorageLens.EncryptionProperty
@Stability(Stable)
public static final class CfnStorageLens.EncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLens.EncryptionProperty>
A builder for
CfnStorageLens.EncryptionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ssekms
(IResolvable ssekms) Sets the value ofCfnStorageLens.EncryptionProperty.getSsekms()
ssekms
(CfnStorageLens.SSEKMSProperty ssekms) Sets the value ofCfnStorageLens.EncryptionProperty.getSsekms()
Sets the value ofCfnStorageLens.EncryptionProperty.getSses3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ssekms
Sets the value ofCfnStorageLens.EncryptionProperty.getSsekms()
- Parameters:
ssekms
- Specifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file.- Returns:
this
-
ssekms
@Stability(Stable) public CfnStorageLens.EncryptionProperty.Builder ssekms(CfnStorageLens.SSEKMSProperty ssekms) Sets the value ofCfnStorageLens.EncryptionProperty.getSsekms()
- Parameters:
ssekms
- Specifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file.- Returns:
this
-
sses3
Sets the value ofCfnStorageLens.EncryptionProperty.getSses3()
- Parameters:
sses3
- Specifies the use of an Amazon S3-managed key (SSE-S3) to encrypt the S3 Storage Lens metrics export file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageLens.EncryptionProperty>
- Returns:
- a new instance of
CfnStorageLens.EncryptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-