Class CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty>
- Enclosing interface:
CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty
@Stability(Stable)
public static final class CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionType(String encryptionType) Sets the value ofCfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty.getKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionType
@Stability(Stable) public CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty.Builder encryptionType(String encryptionType) - Parameters:
encryptionType- The type of encryption.- Returns:
this
-
keyId
@Stability(Stable) public CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty.Builder keyId(String keyId) Sets the value ofCfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty.getKeyId()- Parameters:
keyId- The full ARN of the encryption key.Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key spec of
SYMMETRIC_DEFAULT.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty>- Returns:
- a new instance of
CfnInstanceStorageConfigPropsMixin.EncryptionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-