Java Code Examples for com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperConfig#DEFAULT

The following examples show how to use com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperConfig#DEFAULT . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DynamoDBTemplate.java    From spring-data-dynamodb with Apache License 2.0 5 votes vote down vote up
public void setDynamoDBMapperConfig(DynamoDBMapperConfig dynamoDBMapperConfig)
{
	this.dynamoDBMapperConfig = dynamoDBMapperConfig;
	dynamoDBMapper = dynamoDBMapperConfig == null ? new DynamoDBMapper(amazonDynamoDB) : new DynamoDBMapper(
			amazonDynamoDB, dynamoDBMapperConfig);
	if (dynamoDBMapperConfig == null)
	{
		this.dynamoDBMapperConfig = DynamoDBMapperConfig.DEFAULT;
	}
}
 
Example 2
Source File: DynamoDBConfig.java    From spring-data-dynamodb-examples with Apache License 2.0 4 votes vote down vote up
@Bean
public DynamoDBMapperConfig dynamoDBMapperConfig() {
	return DynamoDBMapperConfig.DEFAULT;
}
 
Example 3
Source File: UserRepositoryIT.java    From spring-data-dynamodb-examples with Apache License 2.0 4 votes vote down vote up
@Bean
public DynamoDBMapperConfig dynamoDBMapperConfig() {
	return DynamoDBMapperConfig.DEFAULT;
}
 
Example 4
Source File: TransactionManager.java    From dynamodb-transactions with Apache License 2.0 4 votes vote down vote up
public TransactionManager(AmazonDynamoDB client, String transactionTableName, String itemImageTableName) {
	this(client, transactionTableName, itemImageTableName, DynamoDBMapperConfig.DEFAULT);
}