Class CfnStorageLensPropsMixin.EncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensPropsMixin.EncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensPropsMixin.EncryptionProperty>
- Enclosing interface:
CfnStorageLensPropsMixin.EncryptionProperty
@Stability(Stable)
public static final class CfnStorageLensPropsMixin.EncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensPropsMixin.EncryptionProperty>
A builder for
CfnStorageLensPropsMixin.EncryptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStorageLensPropsMixin.EncryptionProperty.getSsekms()ssekms(IResolvable ssekms) Sets the value ofCfnStorageLensPropsMixin.EncryptionProperty.getSsekms()Sets the value ofCfnStorageLensPropsMixin.EncryptionProperty.getSses3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ssekms
@Stability(Stable) public CfnStorageLensPropsMixin.EncryptionProperty.Builder ssekms(IResolvable ssekms) Sets the value ofCfnStorageLensPropsMixin.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 CfnStorageLensPropsMixin.EncryptionProperty.Builder ssekms(CfnStorageLensPropsMixin.SSEKMSProperty ssekms) Sets the value ofCfnStorageLensPropsMixin.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 ofCfnStorageLensPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensPropsMixin.EncryptionProperty>- Returns:
- a new instance of
CfnStorageLensPropsMixin.EncryptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-