From c2b5a99a551acdb85cd49a0f802b486996d732f8 Mon Sep 17 00:00:00 2001 From: Andrew Liu Date: Thu, 9 Apr 2015 13:12:02 -0700 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f800ff..042231f 100644 --- a/README.md +++ b/README.md @@ -90,9 +90,13 @@ public class SampleApp { DocumentCollection myCollection = new DocumentCollection(); myCollection.setId(COLLECTION_ID); + // Configure the new collection performance tier to S1. + RequestOptions requestOptions = new RequestOptions(); + requestOptions.setOfferType("S1"); + // Create a new collection. myCollection = documentClient.createCollection( - myDatabase.getSelfLink(), myCollection, null).getResource(); + myDatabase.getSelfLink(), myCollection, requestOptions).getResource(); // Create an object, serialize it in to JSON, and wrap it in to a // document.