@Stability(value=Stable) public static final class CfnStream.StreamEncryptionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnStream.StreamEncryptionProperty>
CfnStream.StreamEncryptionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnStream.StreamEncryptionProperty |
build()
Builds the configured instance.
|
CfnStream.StreamEncryptionProperty.Builder |
encryptionType(String encryptionType)
Sets the value of
CfnStream.StreamEncryptionProperty.getEncryptionType() |
CfnStream.StreamEncryptionProperty.Builder |
keyId(String keyId)
Sets the value of
CfnStream.StreamEncryptionProperty.getKeyId() |
@Stability(value=Stable) public CfnStream.StreamEncryptionProperty.Builder encryptionType(String encryptionType)
CfnStream.StreamEncryptionProperty.getEncryptionType()encryptionType - The encryption type to use. This parameter is required.
The only valid value is KMS .this@Stability(value=Stable) public CfnStream.StreamEncryptionProperty.Builder keyId(String keyId)
CfnStream.StreamEncryptionProperty.getKeyId()keyId - The GUID for the customer-managed AWS KMS key to use for encryption. This parameter is required.
This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis .
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012arn:aws:kms:us-east-1:123456789012:alias/MyAliasName12345678-1234-1234-1234-123456789012alias/MyAliasNamealias/aws/kinesisthis@Stability(value=Stable) public CfnStream.StreamEncryptionProperty build()
build in interface software.amazon.jsii.Builder<CfnStream.StreamEncryptionProperty>CfnStream.StreamEncryptionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.