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