public static final class CfnBucket.EncryptionConfigurationProperty.Builder
extends java.lang.Object
CfnBucket.EncryptionConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBucket.EncryptionConfigurationProperty |
build()
Builds the configured instance.
|
CfnBucket.EncryptionConfigurationProperty.Builder |
replicaKmsKeyId(java.lang.String replicaKmsKeyId)
Sets the value of
CfnBucket.EncryptionConfigurationProperty.getReplicaKmsKeyId() |
public CfnBucket.EncryptionConfigurationProperty.Builder replicaKmsKeyId(java.lang.String replicaKmsKeyId)
CfnBucket.EncryptionConfigurationProperty.getReplicaKmsKeyId()
replicaKmsKeyId
- Specifies the ID (Key ARN or Alias ARN) of the customer managed AWS KMS key stored in AWS Key Management Service (KMS) for the destination bucket. This parameter is required.
Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in AWS KMS in the AWS Key Management Service Developer Guide .this
public CfnBucket.EncryptionConfigurationProperty build()
CfnBucket.EncryptionConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided