Class SavedSearchInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.SavedSearchInner
public final class SavedSearchInner
extends com.azure.core.management.ProxyResource
Value object for saved search results.
-
Constructor Summary
-
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.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.query()
Get the query property: The query expression for the saved search.tags()
Get the tags property: The tags attached to the saved search.void
validate()
Validates the instance.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 com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SavedSearchInner
public SavedSearchInner()
-
-
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.
-
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
Get the tags property: The tags attached to the saved search.- Returns:
- the tags value.
-
withTags
Set the tags property: The tags attached to the saved search.- Parameters:
tags
- the tags value to set.- Returns:
- the SavedSearchInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-