public static final class CfnStorageLens.SSEKMSProperty.Builder
extends java.lang.Object
CfnStorageLens.SSEKMSProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnStorageLens.SSEKMSProperty |
build()
Builds the configured instance.
|
CfnStorageLens.SSEKMSProperty.Builder |
keyId(java.lang.String keyId)
Sets the value of
CfnStorageLens.SSEKMSProperty.getKeyId() |
public CfnStorageLens.SSEKMSProperty.Builder keyId(java.lang.String keyId)
CfnStorageLens.SSEKMSProperty.getKeyId()
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 .this
public CfnStorageLens.SSEKMSProperty build()
CfnStorageLens.SSEKMSProperty
java.lang.NullPointerException
- if any required attribute was not provided