Class SavedSearchProperties
java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.SavedSearchProperties
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.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.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.
-
Constructor Details
-
SavedSearchProperties
public SavedSearchProperties()
-
-
Method Details
-
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 SavedSearchProperties 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 SavedSearchProperties 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 SavedSearchProperties 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 SavedSearchProperties 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 SavedSearchProperties 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 SavedSearchProperties 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 SavedSearchProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-