Class CfnGlobalTablePropsMixin.SSESpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnGlobalTablePropsMixin.SSESpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTablePropsMixin.SSESpecificationProperty>
- Enclosing interface:
CfnGlobalTablePropsMixin.SSESpecificationProperty
@Stability(Stable)
public static final class CfnGlobalTablePropsMixin.SSESpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalTablePropsMixin.SSESpecificationProperty>
A builder for
CfnGlobalTablePropsMixin.SSESpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sseEnabled(Boolean sseEnabled) Sets the value ofCfnGlobalTablePropsMixin.SSESpecificationProperty.getSseEnabled()sseEnabled(IResolvable sseEnabled) Sets the value ofCfnGlobalTablePropsMixin.SSESpecificationProperty.getSseEnabled()Sets the value ofCfnGlobalTablePropsMixin.SSESpecificationProperty.getSseType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sseEnabled
@Stability(Stable) public CfnGlobalTablePropsMixin.SSESpecificationProperty.Builder sseEnabled(Boolean sseEnabled) Sets the value ofCfnGlobalTablePropsMixin.SSESpecificationProperty.getSseEnabled()- Parameters:
sseEnabled- Indicates whether server-side encryption is performed using an AWS managed key or an AWS owned key. If enabled (true), server-side encryption type is set to KMS and an AWS managed key is used ( AWS 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.SSESpecificationobject. You cannot mix AWS managed and customer managed KMS keys.- Returns:
this
-
sseEnabled
@Stability(Stable) public CfnGlobalTablePropsMixin.SSESpecificationProperty.Builder sseEnabled(IResolvable sseEnabled) Sets the value ofCfnGlobalTablePropsMixin.SSESpecificationProperty.getSseEnabled()- Parameters:
sseEnabled- Indicates whether server-side encryption is performed using an AWS managed key or an AWS owned key. If enabled (true), server-side encryption type is set to KMS and an AWS managed key is used ( AWS 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.SSESpecificationobject. You cannot mix AWS managed and customer managed KMS keys.- Returns:
this
-
sseType
@Stability(Stable) public CfnGlobalTablePropsMixin.SSESpecificationProperty.Builder sseType(String sseType) Sets the value ofCfnGlobalTablePropsMixin.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<CfnGlobalTablePropsMixin.SSESpecificationProperty>- Returns:
- a new instance of
CfnGlobalTablePropsMixin.SSESpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-