Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aliuy committed Apr 9, 2015
1 parent 06905f5 commit c2b5a99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c2b5a99

Please sign in to comment.