You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk1/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/utils/EncryptionContextOperators.java
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -25,20 +25,18 @@ public class EncryptionContextOperators {
25
25
privateEncryptionContextOperators() {}
26
26
27
27
/**
28
-
* An operator for overriding EncryptionContext's table name for a specific DynamoDBEncryptor.
29
-
* If any table names or the encryption context is null, it returns the original EncryptionContext.
28
+
* An operator for overriding EncryptionContext's table name for a specific DynamoDBEncryptor. If
29
+
* any table names or the encryption context is null, it returns the original EncryptionContext.
30
30
*
31
-
* The client automatically adds the current table name to the encryption context
32
-
* so it's bound to the ciphertext.
33
-
* Use this method when the encryption context of encrypted table items includes a different table name,
34
-
* such as when a table is backed up, or table items are moved/copied to a different table.
35
-
* If you don't override the name of the current table
36
-
* with the table name in the encryption context, decrypt fails.
37
-
* This override affects the encryption context of all table items,
38
-
* including newly encrypted items.
31
+
* <p>The client automatically adds the current table name to the encryption context so it's bound
32
+
* to the ciphertext. Use this method when the encryption context of encrypted table items
33
+
* includes a different table name, such as when a table is backed up, or table items are
34
+
* moved/copied to a different table. If you don't override the name of the current table with the
35
+
* table name in the encryption context, decrypt fails. This override affects the encryption
36
+
* context of all table items, including newly encrypted items.
39
37
*
40
38
* @param originalTableName Use this table name in the encryption context
41
-
* @param currentTableName Override this table name in the encryption context
39
+
* @param currentTableName Override this table name in the encryption context
42
40
* @return A UnaryOperator that produces a new EncryptionContext with the supplied table name
0 commit comments