Class CfnTablePropsMixin.EncryptionSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cassandra.CfnTablePropsMixin.EncryptionSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.EncryptionSpecificationProperty>
- Enclosing interface:
CfnTablePropsMixin.EncryptionSpecificationProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.EncryptionSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.EncryptionSpecificationProperty>
A builder for
CfnTablePropsMixin.EncryptionSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionType(String encryptionType) Sets the value ofCfnTablePropsMixin.EncryptionSpecificationProperty.getEncryptionType()kmsKeyIdentifier(String kmsKeyIdentifier) Sets the value ofCfnTablePropsMixin.EncryptionSpecificationProperty.getKmsKeyIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionType
@Stability(Stable) public CfnTablePropsMixin.EncryptionSpecificationProperty.Builder encryptionType(String encryptionType) Sets the value ofCfnTablePropsMixin.EncryptionSpecificationProperty.getEncryptionType()- Parameters:
encryptionType- The encryption at rest options for the table.- AWS owned key (default) -
AWS_OWNED_KMS_KEY - Customer managed key -
CUSTOMER_MANAGED_KMS_KEY
If you choose
CUSTOMER_MANAGED_KMS_KEY, akms_key_identifierin the format of a key ARN is required.Valid values:
CUSTOMER_MANAGED_KMS_KEY|AWS_OWNED_KMS_KEY.- AWS owned key (default) -
- Returns:
this
-
kmsKeyIdentifier
@Stability(Stable) public CfnTablePropsMixin.EncryptionSpecificationProperty.Builder kmsKeyIdentifier(String kmsKeyIdentifier) Sets the value ofCfnTablePropsMixin.EncryptionSpecificationProperty.getKmsKeyIdentifier()- Parameters:
kmsKeyIdentifier- Requires akms_key_identifierin the format of a key ARN.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.EncryptionSpecificationProperty>- Returns:
- a new instance of
CfnTablePropsMixin.EncryptionSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-