GraphQueryProperties Class
- java.
lang. Object - com.
azure. resourcemanager. resourcegraph. fluent. models. GraphQueryProperties
- com.
Implements
public final class GraphQueryProperties
implements JsonSerializable<GraphQueryProperties>
Properties that contain a graph query.
Constructor Summary
| Constructor | Description |
|---|---|
| GraphQueryProperties() |
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. |
|
static
Graph |
fromJson(JsonReader jsonReader)
Reads an instance of Graph |
| String |
query()
Get the query property: KQL query that will be graph. |
|
Result |
resultKind()
Get the result |
|
Offset |
timeModified()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Graph |
withDescription(String description)
Set the description property: The description of a graph query. |
|
Graph |
withQuery(String query)
Set the query property: KQL query that will be graph. |
Methods inherited from java.lang.Object
Constructor Details
GraphQueryProperties
public GraphQueryProperties()
Creates an instance of GraphQueryProperties class.
Method Details
description
public String description()
Get the description property: The description of a graph query.
Returns:
fromJson
public static GraphQueryProperties fromJson(JsonReader jsonReader)
Reads an instance of GraphQueryProperties from the JsonReader.
Parameters:
Returns:
Throws:
query
public String query()
Get the query property: KQL query that will be graph.
Returns:
resultKind
public ResultKind resultKind()
Get the resultKind property: Enum indicating a type of graph query.
Returns:
timeModified
public OffsetDateTime timeModified()
Get the timeModified property: Date and time in UTC of the last modification that was made to this graph query definition.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public GraphQueryProperties withDescription(String description)
Set the description property: The description of a graph query.
Parameters:
Returns:
withQuery
public GraphQueryProperties withQuery(String query)
Set the query property: KQL query that will be graph.
Parameters:
Returns: