Class CfnApplicationV2.ApplicationEncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.ApplicationEncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.ApplicationEncryptionConfigurationProperty>
- Enclosing interface:
CfnApplicationV2.ApplicationEncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationV2.ApplicationEncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.ApplicationEncryptionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnApplicationV2.ApplicationEncryptionConfigurationProperty.getKeyId()
Sets the value ofCfnApplicationV2.ApplicationEncryptionConfigurationProperty.getKeyType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyType
@Stability(Stable) public CfnApplicationV2.ApplicationEncryptionConfigurationProperty.Builder keyType(String keyType) Sets the value ofCfnApplicationV2.ApplicationEncryptionConfigurationProperty.getKeyType()
- Parameters:
keyType
- Specifies the type of key used for encryption at rest. This parameter is required.- Returns:
this
-
keyId
@Stability(Stable) public CfnApplicationV2.ApplicationEncryptionConfigurationProperty.Builder keyId(String keyId) Sets the value ofCfnApplicationV2.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.ApplicationEncryptionConfigurationProperty>
- Returns:
- a new instance of
CfnApplicationV2.ApplicationEncryptionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-