GremlinGraphCreateUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. GremlinGraphCreateUpdateProperties
- com.
Implements
public final class GremlinGraphCreateUpdateProperties
implements JsonSerializable<GremlinGraphCreateUpdateProperties>
Properties to create and update Azure Cosmos DB Gremlin graph.
Constructor Summary
| Constructor | Description |
|---|---|
| GremlinGraphCreateUpdateProperties() |
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 graph. |
|
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(GremlinGraphResource resource)
Set the resource property: The standard JSON format of a Gremlin graph. |
Methods inherited from java.lang.Object
Constructor Details
GremlinGraphCreateUpdateProperties
public GremlinGraphCreateUpdateProperties()
Creates an instance of GremlinGraphCreateUpdateProperties class.
Method Details
fromJson
public static GremlinGraphCreateUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of GremlinGraphCreateUpdateProperties 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 GremlinGraphResource resource()
Get the resource property: The standard JSON format of a Gremlin graph.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOptions
public GremlinGraphCreateUpdateProperties 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 GremlinGraphCreateUpdateProperties withResource(GremlinGraphResource resource)
Set the resource property: The standard JSON format of a Gremlin graph.
Parameters:
Returns: