Class CfnStorageLensPropsMixin.SSEKMSProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensPropsMixin.SSEKMSProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensPropsMixin.SSEKMSProperty>
- Enclosing interface:
CfnStorageLensPropsMixin.SSEKMSProperty
@Stability(Stable)
public static final class CfnStorageLensPropsMixin.SSEKMSProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensPropsMixin.SSEKMSProperty>
A builder for
CfnStorageLensPropsMixin.SSEKMSProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStorageLensPropsMixin.SSEKMSProperty.getKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyId
Sets the value ofCfnStorageLensPropsMixin.SSEKMSProperty.getKeyId()- Parameters:
keyId- Specifies the Amazon Resource Name (ARN) of the customer managed AWS key to use for encrypting the S3 Storage Lens metrics export file. Amazon S3 only supports symmetric encryption keys. For more information, see Special-purpose keys in the AWS Key Management Service Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensPropsMixin.SSEKMSProperty>- Returns:
- a new instance of
CfnStorageLensPropsMixin.SSEKMSProperty - Throws:
NullPointerException- if any required attribute was not provided
-