GraphQueryUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. resourcegraph. models. GraphQueryUpdateParameters
- com.
Implements
public final class GraphQueryUpdateParameters
implements JsonSerializable<GraphQueryUpdateParameters>
The parameters that can be provided when updating workbook properties properties.
Constructor Summary
| Constructor | Description |
|---|---|
| GraphQueryUpdateParameters() |
Creates an instance of Graph |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The description of a graph query. |
| String |
etag()
Get the etag property: This will be used to handle Optimistic Concurrency. |
|
static
Graph |
fromJson(JsonReader jsonReader)
Reads an instance of Graph |
| String |
query()
Get the query property: KQL query that will be graph. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Graph |
withDescription(String description)
Set the description property: The description of a graph query. |
|
Graph |
withEtag(String etag)
Set the etag property: This will be used to handle Optimistic Concurrency. |
|
Graph |
withQuery(String query)
Set the query property: KQL query that will be graph. |
|
Graph |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
GraphQueryUpdateParameters
public GraphQueryUpdateParameters()
Creates an instance of GraphQueryUpdateParameters class.
Method Details
description
public String description()
Get the description property: The description of a graph query.
Returns:
etag
public String etag()
Get the etag property: This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict.
Returns:
fromJson
public static GraphQueryUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of GraphQueryUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
query
public String query()
Get the query property: KQL query that will be graph.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public GraphQueryUpdateParameters withDescription(String description)
Set the description property: The description of a graph query.
Parameters:
Returns:
withEtag
public GraphQueryUpdateParameters withEtag(String etag)
Set the etag property: This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict.
Parameters:
Returns:
withQuery
public GraphQueryUpdateParameters withQuery(String query)
Set the query property: KQL query that will be graph.
Parameters:
Returns:
withTags
public GraphQueryUpdateParameters withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: