MongoDBCollectionGetProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. MongoDBCollectionGetProperties
- com.
Implements
public final class MongoDBCollectionGetProperties
implements JsonSerializable<MongoDBCollectionGetProperties>
The properties of an Azure Cosmos DB MongoDB collection.
Constructor Summary
| Constructor | Description |
|---|---|
| MongoDBCollectionGetProperties() |
Creates an instance of Mongo |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Mongo |
fromJson(JsonReader jsonReader)
Reads an instance of Mongo |
|
Mongo |
options()
Get the options property: The options property. |
|
Mongo |
resource()
Get the resource property: The resource property. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Mongo |
withOptions(MongoDBCollectionGetPropertiesOptions options)
Set the options property: The options property. |
|
Mongo |
withResource(MongoDBCollectionGetPropertiesResource resource)
Set the resource property: The resource property. |
Methods inherited from java.lang.Object
Constructor Details
MongoDBCollectionGetProperties
public MongoDBCollectionGetProperties()
Creates an instance of MongoDBCollectionGetProperties class.
Method Details
fromJson
public static MongoDBCollectionGetProperties fromJson(JsonReader jsonReader)
Reads an instance of MongoDBCollectionGetProperties from the JsonReader.
Parameters:
Returns:
Throws:
options
public MongoDBCollectionGetPropertiesOptions options()
Get the options property: The options property.
Returns:
resource
public MongoDBCollectionGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public MongoDBCollectionGetProperties withOptions(MongoDBCollectionGetPropertiesOptions options)
Set the options property: The options property.
Parameters:
Returns:
withResource
public MongoDBCollectionGetProperties withResource(MongoDBCollectionGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns: