We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06905f5 commit c2b5a99Copy full SHA for c2b5a99
README.md
@@ -90,9 +90,13 @@ public class SampleApp {
90
DocumentCollection myCollection = new DocumentCollection();
91
myCollection.setId(COLLECTION_ID);
92
93
+ // Configure the new collection performance tier to S1.
94
+ RequestOptions requestOptions = new RequestOptions();
95
+ requestOptions.setOfferType("S1");
96
+
97
// Create a new collection.
98
myCollection = documentClient.createCollection(
- myDatabase.getSelfLink(), myCollection, null).getResource();
99
+ myDatabase.getSelfLink(), myCollection, requestOptions).getResource();
100
101
// Create an object, serialize it in to JSON, and wrap it in to a
102
// document.
0 commit comments