Class CfnGlobalTable.SSESpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnGlobalTable.SSESpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTable.SSESpecificationProperty>
- Enclosing interface:
CfnGlobalTable.SSESpecificationProperty
@Stability(Stable)
public static final class CfnGlobalTable.SSESpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalTable.SSESpecificationProperty>
A builder for
CfnGlobalTable.SSESpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sseEnabled
(Boolean sseEnabled) Sets the value ofCfnGlobalTable.SSESpecificationProperty.getSseEnabled()
sseEnabled
(IResolvable sseEnabled) Sets the value ofCfnGlobalTable.SSESpecificationProperty.getSseEnabled()
Sets the value ofCfnGlobalTable.SSESpecificationProperty.getSseType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sseEnabled
@Stability(Stable) public CfnGlobalTable.SSESpecificationProperty.Builder sseEnabled(Boolean sseEnabled) Sets the value ofCfnGlobalTable.SSESpecificationProperty.getSseEnabled()
- Parameters:
sseEnabled
- Indicates whether server-side encryption is performed using an AWS managed key or an AWS owned key. This parameter is required. If enabled (true), server-side encryption type is set to KMS and an AWS managed key is used ( AWS KMS charges apply). If disabled (false) or not specified,server-side encryption is set to an AWS owned key. If you choose to use KMS encryption, you can also use customer managed KMS keys by specifying them in theReplicaSpecification.SSESpecification
object. You cannot mix AWS managed and customer managed KMS keys.- Returns:
this
-
sseEnabled
@Stability(Stable) public CfnGlobalTable.SSESpecificationProperty.Builder sseEnabled(IResolvable sseEnabled) Sets the value ofCfnGlobalTable.SSESpecificationProperty.getSseEnabled()
- Parameters:
sseEnabled
- Indicates whether server-side encryption is performed using an AWS managed key or an AWS owned key. This parameter is required. If enabled (true), server-side encryption type is set to KMS and an AWS managed key is used ( AWS KMS charges apply). If disabled (false) or not specified,server-side encryption is set to an AWS owned key. If you choose to use KMS encryption, you can also use customer managed KMS keys by specifying them in theReplicaSpecification.SSESpecification
object. You cannot mix AWS managed and customer managed KMS keys.- Returns:
this
-
sseType
Sets the value ofCfnGlobalTable.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 KMS ( AWS KMS charges apply).
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGlobalTable.SSESpecificationProperty>
- Returns:
- a new instance of
CfnGlobalTable.SSESpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-