Interface AwsAmazonMqBrokerEncryptionOptionsDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder,AwsAmazonMqBrokerEncryptionOptionsDetails>,SdkBuilder<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder,AwsAmazonMqBrokerEncryptionOptionsDetails>,SdkPojo
- Enclosing class:
- AwsAmazonMqBrokerEncryptionOptionsDetails
public static interface AwsAmazonMqBrokerEncryptionOptionsDetails.Builder extends SdkPojo, CopyableBuilder<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder,AwsAmazonMqBrokerEncryptionOptionsDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsAmazonMqBrokerEncryptionOptionsDetails.BuilderkmsKeyId(String kmsKeyId)The KMS key that’s used to encrypt your data at rest.AwsAmazonMqBrokerEncryptionOptionsDetails.BuilderuseAwsOwnedKey(Boolean useAwsOwnedKey)Specifies that an KMS key should be used for at-rest encryption.-
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 Detail
-
kmsKeyId
AwsAmazonMqBrokerEncryptionOptionsDetails.Builder kmsKeyId(String 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
AwsAmazonMqBrokerEncryptionOptionsDetails.Builder useAwsOwnedKey(Boolean 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.
-
-