Interface AwsAmazonMqBrokerEncryptionOptionsDetails.Builder

    • 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 true by 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 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.