Class CfnCluster.EncryptionDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dsql.CfnCluster.EncryptionDetailsProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnCluster.EncryptionDetailsProperty>
- Enclosing interface:
 CfnCluster.EncryptionDetailsProperty
@Stability(Stable)
public static final class CfnCluster.EncryptionDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.EncryptionDetailsProperty>
A builder for 
CfnCluster.EncryptionDetailsProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionStatus(String encryptionStatus) Sets the value ofCfnCluster.EncryptionDetailsProperty.getEncryptionStatus()encryptionType(String encryptionType) Sets the value ofCfnCluster.EncryptionDetailsProperty.getEncryptionType()Sets the value ofCfnCluster.EncryptionDetailsProperty.getKmsKeyArn() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
encryptionStatus
@Stability(Stable) public CfnCluster.EncryptionDetailsProperty.Builder encryptionStatus(String encryptionStatus) Sets the value ofCfnCluster.EncryptionDetailsProperty.getEncryptionStatus()- Parameters:
 encryptionStatus- The status of encryption for the cluster.- Returns:
 this
 - 
encryptionType
@Stability(Stable) public CfnCluster.EncryptionDetailsProperty.Builder encryptionType(String encryptionType) Sets the value ofCfnCluster.EncryptionDetailsProperty.getEncryptionType()- Parameters:
 encryptionType- The type of encryption that protects the data on your cluster.- Returns:
 this
 - 
kmsKeyArn
Sets the value ofCfnCluster.EncryptionDetailsProperty.getKmsKeyArn()- Parameters:
 kmsKeyArn- The ARN of the AWS KMS key that encrypts data in the cluster.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.EncryptionDetailsProperty>- Returns:
 - a new instance of 
CfnCluster.EncryptionDetailsProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -