public class EncryptionContextOperators
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.function.UnaryOperator<EncryptionContext> |
overrideEncryptionContextTableName(java.lang.String originalTableName,
java.lang.String newTableName)
An operator for overriding EncryptionContext's table name for a specific DynamoDBEncryptor.
|
static java.util.function.UnaryOperator<EncryptionContext> |
overrideEncryptionContextTableNameUsingMap(java.util.Map<java.lang.String,java.lang.String> tableNameOverrideMap)
An operator for mapping multiple table names in the Encryption Context to a new table name.
|
public static java.util.function.UnaryOperator<EncryptionContext> overrideEncryptionContextTableName(java.lang.String originalTableName, java.lang.String newTableName)
originalTableName - the name of the table that should be overridden in the Encryption
ContextnewTableName - the table name that should be used in the Encryption Contextpublic static java.util.function.UnaryOperator<EncryptionContext> overrideEncryptionContextTableNameUsingMap(java.util.Map<java.lang.String,java.lang.String> tableNameOverrideMap)
tableNameOverrideMap - a map specifying the names of tables that should be overridden, and
the values to which they should be overridden. If the given table name corresponds to null,
or isn't in the map, then the table name won't be overridden.