GremlinDatabaseCreateUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. GremlinDatabaseCreateUpdateProperties
- com.
Implements
public final class GremlinDatabaseCreateUpdateProperties
implements JsonSerializable<GremlinDatabaseCreateUpdateProperties>
Properties to create and update Azure Cosmos DB Gremlin database.
Constructor Summary
| Constructor | Description |
|---|---|
| GremlinDatabaseCreateUpdateProperties() |
Creates an instance of Gremlin |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Gremlin |
fromJson(JsonReader jsonReader)
Reads an instance of Gremlin |
|
Create |
options()
Get the options property: A key-value pair of options to be applied for the request. |
|
Gremlin |
resource()
Get the resource property: The standard JSON format of a Gremlin database. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Gremlin |
withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. |
|
Gremlin |
withResource(GremlinDatabaseResource resource)
Set the resource property: The standard JSON format of a Gremlin database. |
Methods inherited from java.lang.Object
Constructor Details
GremlinDatabaseCreateUpdateProperties
public GremlinDatabaseCreateUpdateProperties()
Creates an instance of GremlinDatabaseCreateUpdateProperties class.
Method Details
fromJson
public static GremlinDatabaseCreateUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of GremlinDatabaseCreateUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
options
public CreateUpdateOptions options()
Get the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Returns:
resource
public GremlinDatabaseResource resource()
Get the resource property: The standard JSON format of a Gremlin database.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public GremlinDatabaseCreateUpdateProperties withOptions(CreateUpdateOptions options)
Set the options property: A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Parameters:
Returns:
withResource
public GremlinDatabaseCreateUpdateProperties withResource(GremlinDatabaseResource resource)
Set the resource property: The standard JSON format of a Gremlin database.
Parameters:
Returns: