public static final class DynamoDBMapperConfig.TableNameOverride
extends java.lang.Object
DynamoDBTable
annotation.Constructor and Description |
---|
TableNameOverride(java.lang.String tableNameOverride) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTableName()
Returns the table name to use for all requests.
|
java.lang.String |
getTableNamePrefix()
Returns the table name prefix to prepend the table name for all
requests.
|
static DynamoDBMapperConfig.TableNameOverride |
withTableNamePrefix(java.lang.String tableNamePrefix)
Returns a new
DynamoDBMapperConfig.TableNameOverride object that will prepend the
given string to every table name. |
static DynamoDBMapperConfig.TableNameOverride |
withTableNameReplacement(java.lang.String tableNameReplacement)
Returns a new
DynamoDBMapperConfig.TableNameOverride object that will replace
every table name in requests with the given string. |
public TableNameOverride(java.lang.String tableNameOverride)
tableNameOverride
- the table name override.withTableNameReplacement(String)
public static DynamoDBMapperConfig.TableNameOverride withTableNamePrefix(java.lang.String tableNamePrefix)
DynamoDBMapperConfig.TableNameOverride
object that will prepend the
given string to every table name.tableNamePrefix
- the table name prefix.DynamoDBMapperConfig.TableNameOverride
public static DynamoDBMapperConfig.TableNameOverride withTableNameReplacement(java.lang.String tableNameReplacement)
DynamoDBMapperConfig.TableNameOverride
object that will replace
every table name in requests with the given string.tableNameReplacement
- the table name prefix.DynamoDBMapperConfig.TableNameOverride
public java.lang.String getTableName()
getTableNamePrefix()
DynamoDBMapperConfig.getTableNameOverride()
public java.lang.String getTableNamePrefix()
getTableName()
DynamoDBMapperConfig.getTableNameOverride()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.