Table table = dynamo.getTable(TABLE_NAME);
Item item = newItem();
int intAttrVal = item.getInt("intAttr");
// Creates 10 items of range key values from 1 to 10
for (int i=1; i <= 10; i++) {
PutItemOutcome result = table.putItem(
item.withInt(RANGE_KEY_NAME, i)
.withInt("intAttr", intAttrVal+i)
);
System.out.println(result);
}