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
Update AWS SDK and remaining examples to use PUT instead of CLOBBER
Update the AWS SDK to latest in order to get access to SaveBehavior.PUT for
examples.
Update tests to use the more general Function<T, T> instead of
UnaryOperator<T>.
Make it so EncryptionContextOperators can't be instantiated by adding a private
constructor.
Copy file name to clipboardExpand all lines: src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/utils/EncryptionContextOperators.java
+5-3
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,11 @@
9
9
* Implementations of common operators for overriding the EncryptionContext
10
10
*/
11
11
publicclassEncryptionContextOperators {
12
+
13
+
// Prevent instantiation
14
+
privateEncryptionContextOperators() {
15
+
}
16
+
12
17
/**
13
18
* An operator for overriding EncryptionContext's table name for a specific DynamoDBEncryptor. If any table names or
14
19
* the encryption context itself is null, then it returns the original EncryptionContext.
@@ -35,7 +40,6 @@ public static UnaryOperator<EncryptionContext> overrideEncryptionContextTableNam
35
40
};
36
41
}
37
42
38
-
39
43
/**
40
44
* An operator for mapping multiple table names in the Encryption Context to a new table name. If the table name for
41
45
* a given EncryptionContext is missing, then it returns the original EncryptionContext. Similarly, it returns the
@@ -60,6 +64,4 @@ public static UnaryOperator<EncryptionContext> overrideEncryptionContextTableNam
Copy file name to clipboardExpand all lines: src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/utils/EncryptionContextOperatorsTest.java
0 commit comments