Class CfnChannel.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnChannel.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.EncryptionConfigurationProperty>
- Enclosing interface:
CfnChannel.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.EncryptionConfigurationProperty>
A builder for
CfnChannel.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannel.EncryptionConfigurationProperty.getKmsKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnChannel.EncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnChannel.EncryptionConfigurationProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the KMS key for encryption. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnChannel.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-