Map<String, BatchResponse> responseMap = new HashMap<String, BatchResponse>();
responseMap.put("DOMAIN1", new BatchResponse().withItems(getAttributes()));
Map<String, KeysAndAttributes> unprocessedKeys = new HashMap<String, KeysAndAttributes>();
unprocessedKeys.put("DOMAIN1", new KeysAndAttributes().withKeys(
new Key(new AttributeValue("UNPROCESSED_KEY"))));
return new BatchGetItemResult()
.withResponses(responseMap)
.withUnprocessedKeys(unprocessedKeys);
}