Skip to content

Instantly share code, notes, and snippets.

Created Apr 11, 2022
What would you like to do?
public Product() {
DynamoDBMapperConfig mapperConfig = DynamoDBMapperConfig.builder()
.withTableNameOverride(new DynamoDBMapperConfig.TableNameOverride(PRODUCTS_TABLE_NAME))
this.db_adapter = DynamoDBAdapter.getInstance();
this.client = this.db_adapter.getDbClient();
this.mapper = this.db_adapter.createDbMapper(mapperConfig);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment