GraphQueryResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. resourcegraph. fluent. models. GraphQueryResourceInner
- com.
- com.
- com.
public final class GraphQueryResourceInner
extends Resource
Graph Query entity definition.
Constructor Summary
Constructor | Description |
---|---|
GraphQueryResourceInner() |
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 |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
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) |
String |
type()
Get the type property: The type of the resource. |
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 |
withLocation(String location) |
Graph |
withQuery(String query)
Set the query property: KQL query that will be graph. |
Graph |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
GraphQueryResourceInner
public GraphQueryResourceInner()
Creates an instance of GraphQueryResourceInner 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 GraphQueryResourceInner fromJson(JsonReader jsonReader)
Reads an instance of GraphQueryResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GraphQueryResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GraphQueryResourceInner.name()Returns:
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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GraphQueryResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GraphQueryResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withDescription
public GraphQueryResourceInner withDescription(String description)
Set the description property: The description of a graph query.
Parameters:
Returns:
withEtag
public GraphQueryResourceInner 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:
withLocation
public GraphQueryResourceInner withLocation(String location)
Overrides:
GraphQueryResourceInner.withLocation(String location)Parameters:
withQuery
public GraphQueryResourceInner withQuery(String query)
Set the query property: KQL query that will be graph.
Parameters:
Returns:
withTags
public GraphQueryResourceInner withTags(Map
Overrides:
GraphQueryResourceInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java