Interface EncryptionOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EncryptionOptions.Builder,
,EncryptionOptions> SdkBuilder<EncryptionOptions.Builder,
,EncryptionOptions> SdkPojo
- Enclosing class:
EncryptionOptions
public static interface EncryptionOptions.Builder
extends SdkPojo, CopyableBuilder<EncryptionOptions.Builder,EncryptionOptions>
-
Method Summary
Modifier and TypeMethodDescriptionThe customer master key (CMK) to use for the A KMS (KMS).useAwsOwnedKey
(Boolean useAwsOwnedKey) Enables the use of an Amazon Web Services owned CMK using KMS (KMS).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
kmsKeyId
The customer master key (CMK) to use for the A 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.
- Parameters:
kmsKeyId
- The customer master key (CMK) to use for the A 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useAwsOwnedKey
Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
- Parameters:
useAwsOwnedKey
- Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-