Class CfnStorageLens.SSEKMSProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.SSEKMSProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens.SSEKMSProperty>
- Enclosing interface:
CfnStorageLens.SSEKMSProperty
@Stability(Stable)
public static final class CfnStorageLens.SSEKMSProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLens.SSEKMSProperty>
A builder for
CfnStorageLens.SSEKMSProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStorageLens.SSEKMSProperty.getKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyId
Sets the value ofCfnStorageLens.SSEKMSProperty.getKeyId()
- Parameters:
keyId
- Specifies the Amazon Resource Name (ARN) of the customer managed AWS KMS key to use for encrypting the S3 Storage Lens metrics export file. This parameter is required. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageLens.SSEKMSProperty>
- Returns:
- a new instance of
CfnStorageLens.SSEKMSProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-