public static final class CfnDomain.EncryptionAtRestOptionsProperty.Builder
extends java.lang.Object
CfnDomain.EncryptionAtRestOptionsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDomain.EncryptionAtRestOptionsProperty |
build()
Builds the configured instance.
|
CfnDomain.EncryptionAtRestOptionsProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnDomain.EncryptionAtRestOptionsProperty.getEnabled() |
CfnDomain.EncryptionAtRestOptionsProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnDomain.EncryptionAtRestOptionsProperty.getEnabled() |
CfnDomain.EncryptionAtRestOptionsProperty.Builder |
kmsKeyId(java.lang.String kmsKeyId)
Sets the value of
CfnDomain.EncryptionAtRestOptionsProperty.getKmsKeyId() |
public CfnDomain.EncryptionAtRestOptionsProperty.Builder enabled(java.lang.Boolean enabled)
CfnDomain.EncryptionAtRestOptionsProperty.getEnabled()
enabled
- Specify `true` to enable encryption at rest.
Required if you enable fine-grained access control in AdvancedSecurityOptionsInput .this
public CfnDomain.EncryptionAtRestOptionsProperty.Builder enabled(IResolvable enabled)
CfnDomain.EncryptionAtRestOptionsProperty.getEnabled()
enabled
- Specify `true` to enable encryption at rest.
Required if you enable fine-grained access control in AdvancedSecurityOptionsInput .this
public CfnDomain.EncryptionAtRestOptionsProperty.Builder kmsKeyId(java.lang.String kmsKeyId)
CfnDomain.EncryptionAtRestOptionsProperty.getKmsKeyId()
kmsKeyId
- The KMS key ID. Takes the form `1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a` . Required if you enable encryption at rest.
You can also use keyAlias
as a value.this
public CfnDomain.EncryptionAtRestOptionsProperty build()
CfnDomain.EncryptionAtRestOptionsProperty
java.lang.NullPointerException
- if any required attribute was not provided