public static final class CfnSecurityConfiguration.S3EncryptionProperty.Builder
extends java.lang.Object
CfnSecurityConfiguration.S3EncryptionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSecurityConfiguration.S3EncryptionProperty |
build()
Builds the configured instance.
|
CfnSecurityConfiguration.S3EncryptionProperty.Builder |
kmsKeyArn(java.lang.String kmsKeyArn)
Sets the value of
CfnSecurityConfiguration.S3EncryptionProperty.getKmsKeyArn() |
CfnSecurityConfiguration.S3EncryptionProperty.Builder |
s3EncryptionMode(java.lang.String s3EncryptionMode)
Sets the value of
CfnSecurityConfiguration.S3EncryptionProperty.getS3EncryptionMode() |
public CfnSecurityConfiguration.S3EncryptionProperty.Builder kmsKeyArn(java.lang.String kmsKeyArn)
CfnSecurityConfiguration.S3EncryptionProperty.getKmsKeyArn()
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.this
public CfnSecurityConfiguration.S3EncryptionProperty.Builder s3EncryptionMode(java.lang.String s3EncryptionMode)
CfnSecurityConfiguration.S3EncryptionProperty.getS3EncryptionMode()
s3EncryptionMode
- The encryption mode to use for Amazon S3 data.this
public CfnSecurityConfiguration.S3EncryptionProperty build()
CfnSecurityConfiguration.S3EncryptionProperty
java.lang.NullPointerException
- if any required attribute was not provided