Class CfnBucketPropsMixin.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.EncryptionConfigurationProperty>
- Enclosing interface:
CfnBucketPropsMixin.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.EncryptionConfigurationProperty>
A builder for
CfnBucketPropsMixin.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.replicaKmsKeyId(String replicaKmsKeyId) Sets the value ofCfnBucketPropsMixin.EncryptionConfigurationProperty.getReplicaKmsKeyId()replicaKmsKeyId(IKeyRef replicaKmsKeyId) Sets the value ofCfnBucketPropsMixin.EncryptionConfigurationProperty.getReplicaKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replicaKmsKeyId
@Stability(Stable) public CfnBucketPropsMixin.EncryptionConfigurationProperty.Builder replicaKmsKeyId(String replicaKmsKeyId) Sets the value ofCfnBucketPropsMixin.EncryptionConfigurationProperty.getReplicaKmsKeyId()- Parameters:
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. 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 .- Returns:
this
-
replicaKmsKeyId
@Stability(Stable) public CfnBucketPropsMixin.EncryptionConfigurationProperty.Builder replicaKmsKeyId(IKeyRef replicaKmsKeyId) Sets the value ofCfnBucketPropsMixin.EncryptionConfigurationProperty.getReplicaKmsKeyId()- Parameters:
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. 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 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-