Interface EncryptionConfiguration.Builder

  • Method Details

    • kmsKeyId

      The identifier of the AWS KMS key to use for encryption. This can be a key ID, key ARN, alias name, or alias ARN.

      Parameters:
      kmsKeyId - The identifier of the AWS KMS key to use for encryption. This can be a key ID, key ARN, alias name, or alias ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsEncryptionContext

      EncryptionConfiguration.Builder kmsEncryptionContext(Map<String,String> kmsEncryptionContext)

      A set of key-value pairs that Amazon Textract includes as the AWS KMS encryption context when encrypting and decrypting the resource.

      On UpdateProject and UpdateBlueprint, this member is the one exception to replacing a supplied configuration whole. If you omit it, the stored encryption context is kept. To clear a custom encryption context, specify an empty map ({}).

      Parameters:
      kmsEncryptionContext - A set of key-value pairs that Amazon Textract includes as the AWS KMS encryption context when encrypting and decrypting the resource.

      On UpdateProject and UpdateBlueprint, this member is the one exception to replacing a supplied configuration whole. If you omit it, the stored encryption context is kept. To clear a custom encryption context, specify an empty map ({}).

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