GremlinDatabaseRestoreResource Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. GremlinDatabaseRestoreResource
- com.
Implements
public final class GremlinDatabaseRestoreResource
implements JsonSerializable<GremlinDatabaseRestoreResource>
Specific Gremlin Databases to restore.
Constructor Summary
Constructor | Description |
---|---|
GremlinDatabaseRestoreResource() |
Creates an instance of Gremlin |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
databaseName()
Get the database |
static
Gremlin |
fromJson(JsonReader jsonReader)
Reads an instance of Gremlin |
List<String> |
graphNames()
Get the graph |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Gremlin |
withDatabaseName(String databaseName)
Set the database |
Gremlin |
withGraphNames(List<String> graphNames)
Set the graph |
Methods inherited from java.lang.Object
Constructor Details
GremlinDatabaseRestoreResource
public GremlinDatabaseRestoreResource()
Creates an instance of GremlinDatabaseRestoreResource class.
Method Details
databaseName
public String databaseName()
Get the databaseName property: The name of the gremlin database available for restore.
Returns:
fromJson
public static GremlinDatabaseRestoreResource fromJson(JsonReader jsonReader)
Reads an instance of GremlinDatabaseRestoreResource from the JsonReader.
Parameters:
Returns:
Throws:
graphNames
public List
Get the graphNames property: The names of the graphs available for restore.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDatabaseName
public GremlinDatabaseRestoreResource withDatabaseName(String databaseName)
Set the databaseName property: The name of the gremlin database available for restore.
Parameters:
Returns:
withGraphNames
public GremlinDatabaseRestoreResource withGraphNames(List
Set the graphNames property: The names of the graphs available for restore.
Parameters:
Returns:
Applies to
Azure SDK for Java