private Item newItem() {
        Item item = new Item()
            .withString(HASH_KEY_NAME, "foo")
            .withBinary("binary", new byte[]{1,2,3,4})
            .withBinarySet("binarySet", new byte[]{5,6}, new byte[]{7,8})
            .withBoolean("booleanTrue", true)
            .withBoolean("booleanFalse", false)
            .withInt("intAttr", 1234)
            .withList("listAtr","abc", "123")
            .withMap("mapAttr",
                new ValueMap()
                    .withString("key1", "value1")
                    .withInt("key2", 999))
            .withNull("nullAttr")
            .withNumber("numberAttr", 999.1234)
            .withString("stringAttr", "bla")
            .withStringSet("stringSetAttr", "da","di","foo","bar","bazz")
            ;
        return item;
    }
Sample code to put items to a DynamoDB table.
src/samples/AmazonDynamoDBDocumentAPI/quick-start/com/amazonaws/services/dynamodbv2/document/quickstart/B_PutItemTest.java