Class CfnInstanceStorageConfig.EncryptionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnInstanceStorageConfig.EncryptionConfigProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnInstanceStorageConfig.EncryptionConfigProperty>
- Enclosing interface:
- CfnInstanceStorageConfig.EncryptionConfigProperty
@Stability(Stable)
public static final class CfnInstanceStorageConfig.EncryptionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceStorageConfig.EncryptionConfigProperty>
A builder for 
CfnInstanceStorageConfig.EncryptionConfigProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionType(String encryptionType) Sets the value ofCfnInstanceStorageConfig.EncryptionConfigProperty.getEncryptionType()Sets the value ofCfnInstanceStorageConfig.EncryptionConfigProperty.getKeyId()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
encryptionType@Stability(Stable) public CfnInstanceStorageConfig.EncryptionConfigProperty.Builder encryptionType(String encryptionType) Sets the value ofCfnInstanceStorageConfig.EncryptionConfigProperty.getEncryptionType()- Parameters:
- encryptionType- The type of encryption. This parameter is required.
- Returns:
- this
 
- 
keyId@Stability(Stable) public CfnInstanceStorageConfig.EncryptionConfigProperty.Builder keyId(String keyId) Sets the value ofCfnInstanceStorageConfig.EncryptionConfigProperty.getKeyId()- Parameters:
- keyId- The full ARN of the encryption key. This parameter is required.- 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
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnInstanceStorageConfig.EncryptionConfigProperty>
- Returns:
- a new instance of CfnInstanceStorageConfig.EncryptionConfigProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-