public class EncryptionContextOperators extends Object
| Modifier and Type | Method and Description |
|---|---|
static UnaryOperator<EncryptionContext> |
overrideEncryptionContextTableName(String originalTableName,
String newTableName)
An operator for overriding EncryptionContext's table name for a specific DynamoDBEncryptor.
|
static UnaryOperator<EncryptionContext> |
overrideEncryptionContextTableNameUsingMap(Map<String,String> tableNameOverrideMap)
An operator for mapping multiple table names in the Encryption Context to a new table name.
|
public static UnaryOperator<EncryptionContext> overrideEncryptionContextTableName(String originalTableName, 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 UnaryOperator<EncryptionContext> overrideEncryptionContextTableNameUsingMap(Map<String,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.Copyright © 2021. All rights reserved.