Class CfnTablePropsMixin.SSESpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnTablePropsMixin.SSESpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.SSESpecificationProperty>
- Enclosing interface:
CfnTablePropsMixin.SSESpecificationProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.SSESpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.SSESpecificationProperty>
A builder for
CfnTablePropsMixin.SSESpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kmsMasterKeyId(String kmsMasterKeyId) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getKmsMasterKeyId()kmsMasterKeyId(IAliasRef kmsMasterKeyId) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getKmsMasterKeyId()kmsMasterKeyId(IKeyRef kmsMasterKeyId) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getKmsMasterKeyId()sseEnabled(Boolean sseEnabled) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getSseEnabled()sseEnabled(IResolvable sseEnabled) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getSseEnabled()Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getSseType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsMasterKeyId
@Stability(Stable) public CfnTablePropsMixin.SSESpecificationProperty.Builder kmsMasterKeyId(String kmsMasterKeyId) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getKmsMasterKeyId()- Parameters:
kmsMasterKeyId- The AWS key that should be used for the AWS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB keyalias/aws/dynamodb.- Returns:
this
-
kmsMasterKeyId
@Stability(Stable) public CfnTablePropsMixin.SSESpecificationProperty.Builder kmsMasterKeyId(IAliasRef kmsMasterKeyId) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getKmsMasterKeyId()- Parameters:
kmsMasterKeyId- The AWS key that should be used for the AWS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB keyalias/aws/dynamodb.- Returns:
this
-
kmsMasterKeyId
@Stability(Stable) public CfnTablePropsMixin.SSESpecificationProperty.Builder kmsMasterKeyId(IKeyRef kmsMasterKeyId) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getKmsMasterKeyId()- Parameters:
kmsMasterKeyId- The AWS key that should be used for the AWS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB keyalias/aws/dynamodb.- Returns:
this
-
sseEnabled
@Stability(Stable) public CfnTablePropsMixin.SSESpecificationProperty.Builder sseEnabled(Boolean sseEnabled) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getSseEnabled()- Parameters:
sseEnabled- Indicates whether server-side encryption is done using an AWS managed key or an AWS owned key. If enabled (true), server-side encryption type is set toKMSand an AWS managed key is used ( AWS charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned key.- Returns:
this
-
sseEnabled
@Stability(Stable) public CfnTablePropsMixin.SSESpecificationProperty.Builder sseEnabled(IResolvable sseEnabled) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getSseEnabled()- Parameters:
sseEnabled- Indicates whether server-side encryption is done using an AWS managed key or an AWS owned key. If enabled (true), server-side encryption type is set toKMSand an AWS managed key is used ( AWS charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned key.- Returns:
this
-
sseType
@Stability(Stable) public CfnTablePropsMixin.SSESpecificationProperty.Builder sseType(String sseType) Sets the value ofCfnTablePropsMixin.SSESpecificationProperty.getSseType()- Parameters:
sseType- Server-side encryption type. The only supported value is:.KMS- Server-side encryption that uses AWS Key Management Service . The key is stored in your account and is managed by AWS ( AWS charges apply).
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.SSESpecificationProperty>- Returns:
- a new instance of
CfnTablePropsMixin.SSESpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-