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