Interface AwsAmazonMqBrokerEncryptionOptionsDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder,,AwsAmazonMqBrokerEncryptionOptionsDetails> SdkBuilder<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder,,AwsAmazonMqBrokerEncryptionOptionsDetails> SdkPojo
- Enclosing class:
AwsAmazonMqBrokerEncryptionOptionsDetails
@Mutable
@NotThreadSafe
public static interface AwsAmazonMqBrokerEncryptionOptionsDetails.Builder
extends SdkPojo, CopyableBuilder<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder,AwsAmazonMqBrokerEncryptionOptionsDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe KMS key that’s used to encrypt your data at rest.useAwsOwnedKey(Boolean useAwsOwnedKey) Specifies that an KMS key should be used for at-rest encryption.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
kmsKeyId
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
- Parameters:
kmsKeyId- The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useAwsOwnedKey
Specifies that an KMS key should be used for at-rest encryption. Set to
trueby default if no value is provided (for example, for RabbitMQ brokers).- Parameters:
useAwsOwnedKey- Specifies that an KMS key should be used for at-rest encryption. Set totrueby 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.
-