public class MongoDBCollectionCreateUpdateParameters extends Object
Constructor and Description |
---|
MongoDBCollectionCreateUpdateParameters() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
options()
Get a key-value pair of options to be applied for the request.
|
MongoDBCollectionResource |
resource()
Get the standard JSON format of a MongoDB collection.
|
MongoDBCollectionCreateUpdateParameters |
withOptions(Map<String,String> options)
Set a key-value pair of options to be applied for the request.
|
MongoDBCollectionCreateUpdateParameters |
withResource(MongoDBCollectionResource resource)
Set the standard JSON format of a MongoDB collection.
|
public MongoDBCollectionCreateUpdateParameters()
public MongoDBCollectionResource resource()
public MongoDBCollectionCreateUpdateParameters withResource(MongoDBCollectionResource resource)
resource
- the resource value to setpublic Map<String,String> options()
public MongoDBCollectionCreateUpdateParameters withOptions(Map<String,String> options)
options
- the options value to setCopyright © 2019. All rights reserved.