Class SavedSearchInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.SavedSearchInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class SavedSearchInner
extends com.azure.core.management.ProxyResource
Value object for saved search results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory()Get the category property: The category of the saved search.Get the displayName property: Saved search display name.etag()Get the etag property: The ETag of the saved search.static SavedSearchInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SavedSearchInner from the JsonReader.Get the functionAlias property: The function alias if query serves as a function.Get the functionParameters property: The optional function parameters if query serves as a function.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.query()Get the query property: The query expression for the saved search.com.azure.core.management.SystemDataGet the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()Get the tags property: The tags attached to the saved search.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.version()Get the version property: The version number of the query language.withCategory(String category) Set the category property: The category of the saved search.withDisplayName(String displayName) Set the displayName property: Saved search display name.Set the etag property: The ETag of the saved search.withFunctionAlias(String functionAlias) Set the functionAlias property: The function alias if query serves as a function.withFunctionParameters(String functionParameters) Set the functionParameters property: The optional function parameters if query serves as a function.Set the query property: The query expression for the saved search.Set the tags property: The tags attached to the saved search.withVersion(Long version) Set the version property: The version number of the query language.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SavedSearchInner
public SavedSearchInner()Creates an instance of SavedSearchInner class.
-
-
Method Details
-
etag
Get the etag property: The ETag of the saved search. To override an existing saved search, use "*" or specify the current Etag.- Returns:
- the etag value.
-
withEtag
Set the etag property: The ETag of the saved search. To override an existing saved search, use "*" or specify the current Etag.- Parameters:
etag- the etag value to set.- Returns:
- the SavedSearchInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
category
Get the category property: The category of the saved search. This helps the user to find a saved search faster.- Returns:
- the category value.
-
withCategory
Set the category property: The category of the saved search. This helps the user to find a saved search faster.- Parameters:
category- the category value to set.- Returns:
- the SavedSearchInner object itself.
-
displayName
Get the displayName property: Saved search display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Saved search display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the SavedSearchInner object itself.
-
query
Get the query property: The query expression for the saved search.- Returns:
- the query value.
-
withQuery
Set the query property: The query expression for the saved search.- Parameters:
query- the query value to set.- Returns:
- the SavedSearchInner object itself.
-
functionAlias
Get the functionAlias property: The function alias if query serves as a function.- Returns:
- the functionAlias value.
-
withFunctionAlias
Set the functionAlias property: The function alias if query serves as a function.- Parameters:
functionAlias- the functionAlias value to set.- Returns:
- the SavedSearchInner object itself.
-
functionParameters
Get the functionParameters property: The optional function parameters if query serves as a function. Value should be in the following format: 'param-name1:type1 = default_value1, param-name2:type2 = default_value2'. For more examples and proper syntax please refer to https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions.- Returns:
- the functionParameters value.
-
withFunctionParameters
Set the functionParameters property: The optional function parameters if query serves as a function. Value should be in the following format: 'param-name1:type1 = default_value1, param-name2:type2 = default_value2'. For more examples and proper syntax please refer to https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions.- Parameters:
functionParameters- the functionParameters value to set.- Returns:
- the SavedSearchInner object itself.
-
version
Get the version property: The version number of the query language. The current version is 2 and is the default.- Returns:
- the version value.
-
withVersion
Set the version property: The version number of the query language. The current version is 2 and is the default.- Parameters:
version- the version value to set.- Returns:
- the SavedSearchInner object itself.
-
tags
-
withTags
Set the tags property: The tags attached to the saved search.- Parameters:
tags- the tags value to set.- Returns:
- the SavedSearchInner object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
Reads an instance of SavedSearchInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SavedSearchInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SavedSearchInner.
-