Class DynamoDBMapperConfig.TableNameOverride
java.lang.Object
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperConfig.TableNameOverride
- Enclosing class:
DynamoDBMapperConfig
Allows overriding the table name declared on a domain class by the
DynamoDBTable
annotation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the table name to use for all requests.Returns the table name prefix to prepend the table name for all requests.withTableNamePrefix
(String tableNamePrefix) Returns a newDynamoDBMapperConfig.TableNameOverride
object that will prepend the given string to every table name.withTableNameReplacement
(String tableNameReplacement) Returns a newDynamoDBMapperConfig.TableNameOverride
object that will replace every table name in requests with the given string.
-
Constructor Details
-
TableNameOverride
- See Also:
-
-
Method Details
-
withTableNamePrefix
Returns a newDynamoDBMapperConfig.TableNameOverride
object that will prepend the given string to every table name. -
withTableNameReplacement
public static DynamoDBMapperConfig.TableNameOverride withTableNameReplacement(String tableNameReplacement) Returns a newDynamoDBMapperConfig.TableNameOverride
object that will replace every table name in requests with the given string. -
getTableName
Returns the table name to use for all requests. Exclusive withgetTableNamePrefix()
- See Also:
-
getTableNamePrefix
Returns the table name prefix to prepend the table name for all requests. Exclusive withgetTableName()
- See Also:
-