Skip to content

Commit c2b5a99

Browse files
committed
Update README.md
1 parent 06905f5 commit c2b5a99

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,13 @@ public class SampleApp {
9090
DocumentCollection myCollection = new DocumentCollection();
9191
myCollection.setId(COLLECTION_ID);
9292

93+
// Configure the new collection performance tier to S1.
94+
RequestOptions requestOptions = new RequestOptions();
95+
requestOptions.setOfferType("S1");
96+
9397
// Create a new collection.
9498
myCollection = documentClient.createCollection(
95-
myDatabase.getSelfLink(), myCollection, null).getResource();
99+
myDatabase.getSelfLink(), myCollection, requestOptions).getResource();
96100

97101
// Create an object, serialize it in to JSON, and wrap it in to a
98102
// document.

0 commit comments

Comments
 (0)