Interface KmsEncryptionSettings.Builder

  • Method Details

    • key

      The customer-managed KMS key Amazon Resource Name (ARN), alias or ID to be used for encryption processes.

      Users can provide the full KMS key ARN, a KMS key alias, or a KMS key ID, but it will be mapped to the full KMS key ARN after policy store creation, and referenced when encrypting child resources.

      Parameters:
      key - The customer-managed KMS key Amazon Resource Name (ARN), alias or ID to be used for encryption processes.

      Users can provide the full KMS key ARN, a KMS key alias, or a KMS key ID, but it will be mapped to the full KMS key ARN after policy store creation, and referenced when encrypting child resources.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionContext

      KmsEncryptionSettings.Builder encryptionContext(Map<String,String> encryptionContext)

      User-defined, additional context to be added to encryption processes.

      Parameters:
      encryptionContext - User-defined, additional context to be added to encryption processes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.