@Stability(value=Stable) public static final class CfnBroker.EncryptionOptionsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBroker.EncryptionOptionsProperty>
CfnBroker.EncryptionOptionsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBroker.EncryptionOptionsProperty |
build()
Builds the configured instance.
|
CfnBroker.EncryptionOptionsProperty.Builder |
kmsKeyId(String kmsKeyId)
Sets the value of
CfnBroker.EncryptionOptionsProperty.getKmsKeyId() |
CfnBroker.EncryptionOptionsProperty.Builder |
useAwsOwnedKey(Boolean useAwsOwnedKey)
Sets the value of
CfnBroker.EncryptionOptionsProperty.getUseAwsOwnedKey() |
CfnBroker.EncryptionOptionsProperty.Builder |
useAwsOwnedKey(IResolvable useAwsOwnedKey)
Sets the value of
CfnBroker.EncryptionOptionsProperty.getUseAwsOwnedKey() |
@Stability(value=Stable) public CfnBroker.EncryptionOptionsProperty.Builder useAwsOwnedKey(Boolean useAwsOwnedKey)
CfnBroker.EncryptionOptionsProperty.getUseAwsOwnedKey()useAwsOwnedKey - Enables the use of an AWS owned CMK using AWS KMS (KMS). This parameter is required.
Set to true by default, if no value is provided, for example, for RabbitMQ brokers.this@Stability(value=Stable) public CfnBroker.EncryptionOptionsProperty.Builder useAwsOwnedKey(IResolvable useAwsOwnedKey)
CfnBroker.EncryptionOptionsProperty.getUseAwsOwnedKey()useAwsOwnedKey - Enables the use of an AWS owned CMK using AWS KMS (KMS). This parameter is required.
Set to true by default, if no value is provided, for example, for RabbitMQ brokers.this@Stability(value=Stable) public CfnBroker.EncryptionOptionsProperty.Builder kmsKeyId(String kmsKeyId)
CfnBroker.EncryptionOptionsProperty.getKmsKeyId()kmsKeyId - The customer master key (CMK) to use for the A AWS KMS (KMS).
This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.this@Stability(value=Stable) public CfnBroker.EncryptionOptionsProperty build()
build in interface software.amazon.jsii.Builder<CfnBroker.EncryptionOptionsProperty>CfnBroker.EncryptionOptionsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.