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