Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@DynamoDBTable(tableName = "employees-dev")
public class Employee
private String id;
private String name;
private String department;
@DynamoDBHashKey(attributeName = "id")
public String getId()
return id;
@DynamoDBRangeKey(attributeName = "name")
public String getName()
return name;
@DynamoDBAttribute(attributeName = "department")
public String getDepartment()
return department;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment