Class CfnDeliveryStream.KMSEncryptionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.KMSEncryptionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.KMSEncryptionConfigProperty>
- Enclosing interface:
CfnDeliveryStream.KMSEncryptionConfigProperty
@Stability(Stable)
public static final class CfnDeliveryStream.KMSEncryptionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.KMSEncryptionConfigProperty>
A builder for
CfnDeliveryStream.KMSEncryptionConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawskmsKeyArn
(String awskmsKeyArn) Sets the value ofCfnDeliveryStream.KMSEncryptionConfigProperty.getAwskmsKeyArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awskmsKeyArn
@Stability(Stable) public CfnDeliveryStream.KMSEncryptionConfigProperty.Builder awskmsKeyArn(String awskmsKeyArn) Sets the value ofCfnDeliveryStream.KMSEncryptionConfigProperty.getAwskmsKeyArn()
- Parameters:
awskmsKeyArn
- The Amazon Resource Name (ARN) of the AWS KMS encryption key that Amazon S3 uses to encrypt data delivered by the Kinesis Data Firehose stream. This parameter is required. The key must belong to the same region as the destination S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.KMSEncryptionConfigProperty>
- Returns:
- a new instance of
CfnDeliveryStream.KMSEncryptionConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-