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