Please refer to https://github.com/Azure/azure-documentdb-java/ for a reference implementation of the Azure DocumentDB Java SDK.