public static final class DynamoDBMapperConfig.TableNameOverride extends Object
DynamoDBTable
annotation.Constructor and Description |
---|
TableNameOverride(String tableNameOverride) |
Modifier and Type | Method and Description |
---|---|
DynamoDBMapperConfig |
config() |
String |
getTableName()
Returns the table name to use for all requests.
|
String |
getTableNamePrefix()
Returns the table name prefix to prepend the table name for all
requests.
|
static DynamoDBMapperConfig.TableNameOverride |
withTableNamePrefix(String tableNamePrefix)
Returns a new
DynamoDBMapperConfig.TableNameOverride object that will prepend the
given string to every table name. |
static DynamoDBMapperConfig.TableNameOverride |
withTableNameReplacement(String tableNameReplacement)
Returns a new
DynamoDBMapperConfig.TableNameOverride object that will replace
every table name in requests with the given string. |
public TableNameOverride(String tableNameOverride)
withTableNameReplacement(String)
public static DynamoDBMapperConfig.TableNameOverride withTableNamePrefix(String tableNamePrefix)
DynamoDBMapperConfig.TableNameOverride
object that will prepend the
given string to every table name.public static DynamoDBMapperConfig.TableNameOverride withTableNameReplacement(String tableNameReplacement)
DynamoDBMapperConfig.TableNameOverride
object that will replace
every table name in requests with the given string.public String getTableName()
getTableNamePrefix()
public String getTableNamePrefix()
getTableName()
public final DynamoDBMapperConfig config()