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