Interface EncryptionOptions.Builder

    • Method Detail

      • kmsKeyId

        EncryptionOptions.Builder kmsKeyId​(String 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

        EncryptionOptions.Builder useAwsOwnedKey​(Boolean 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.