Class RestorableGremlinGraphProperties
java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinGraphProperties
The properties of an Azure Cosmos DB Gremlin graph event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RestorableGremlinGraphProperties class. -
Method Summary
-
Constructor Details
-
RestorableGremlinGraphProperties
public RestorableGremlinGraphProperties()Creates an instance of RestorableGremlinGraphProperties class.
-
-
Method Details
-
resource
Get the resource property: The resource of an Azure Cosmos DB Gremlin graph event.- Returns:
- the resource value.
-
withResource
public RestorableGremlinGraphProperties withResource(RestorableGremlinGraphPropertiesResource resource) Set the resource property: The resource of an Azure Cosmos DB Gremlin graph event.- Parameters:
resource- the resource value to set.- Returns:
- the RestorableGremlinGraphProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-