Class CfnApplication.ApplicationEncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication.ApplicationEncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ApplicationEncryptionConfigurationProperty>
- Enclosing interface:
CfnApplication.ApplicationEncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.ApplicationEncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ApplicationEncryptionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplication.ApplicationEncryptionConfigurationProperty.getKeyId()Sets the value ofCfnApplication.ApplicationEncryptionConfigurationProperty.getKeyType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyType
@Stability(Stable) public CfnApplication.ApplicationEncryptionConfigurationProperty.Builder keyType(String keyType) Sets the value ofCfnApplication.ApplicationEncryptionConfigurationProperty.getKeyType()- Parameters:
keyType- Specifies the type of key used for encryption at rest. This parameter is required.- Returns:
this
-
keyId
@Stability(Stable) public CfnApplication.ApplicationEncryptionConfigurationProperty.Builder keyId(String keyId) Sets the value ofCfnApplication.ApplicationEncryptionConfigurationProperty.getKeyId()- Parameters:
keyId- The key ARN, key ID, alias ARN, or alias name of the KMS key used for encryption at rest.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.ApplicationEncryptionConfigurationProperty>- Returns:
- a new instance of
CfnApplication.ApplicationEncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-