Class RestorableMongodbCollectionProperties
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.RestorableMongodbCollectionProperties
-
public final class RestorableMongodbCollectionProperties extends Object
The properties of an Azure Cosmos DB MongoDB collection event.
-
-
Constructor Summary
Constructors Constructor Description RestorableMongodbCollectionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestorableMongodbCollectionPropertiesResourceresource()Get the resource property: The resource of an Azure Cosmos DB MongoDB collection event.voidvalidate()Validates the instance.RestorableMongodbCollectionPropertieswithResource(RestorableMongodbCollectionPropertiesResource resource)Set the resource property: The resource of an Azure Cosmos DB MongoDB collection event.
-
-
-
Method Detail
-
resource
public RestorableMongodbCollectionPropertiesResource resource()
Get the resource property: The resource of an Azure Cosmos DB MongoDB collection event.- Returns:
- the resource value.
-
withResource
public RestorableMongodbCollectionProperties withResource(RestorableMongodbCollectionPropertiesResource resource)
Set the resource property: The resource of an Azure Cosmos DB MongoDB collection event.- Parameters:
resource- the resource value to set.- Returns:
- the RestorableMongodbCollectionProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-