Class SavedSearchProperties

java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.SavedSearchProperties

public final class SavedSearchProperties extends Object
Value object for saved search results.
  • Constructor Details

    • SavedSearchProperties

      public SavedSearchProperties()
  • Method Details

    • category

      public String 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

      public SavedSearchProperties withCategory(String category)
      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

      public String displayName()
      Get the displayName property: Saved search display name.
      Returns:
      the displayName value.
    • withDisplayName

      public SavedSearchProperties withDisplayName(String displayName)
      Set the displayName property: Saved search display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the SavedSearchProperties object itself.
    • query

      public String query()
      Get the query property: The query expression for the saved search.
      Returns:
      the query value.
    • withQuery

      public SavedSearchProperties withQuery(String query)
      Set the query property: The query expression for the saved search.
      Parameters:
      query - the query value to set.
      Returns:
      the SavedSearchProperties object itself.
    • functionAlias

      public String functionAlias()
      Get the functionAlias property: The function alias if query serves as a function.
      Returns:
      the functionAlias value.
    • withFunctionAlias

      public SavedSearchProperties withFunctionAlias(String functionAlias)
      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

      public String 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

      public SavedSearchProperties withFunctionParameters(String functionParameters)
      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

      public Long 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

      public SavedSearchProperties withVersion(Long version)
      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

      public List<Tag> tags()
      Get the tags property: The tags attached to the saved search.
      Returns:
      the tags value.
    • withTags

      public SavedSearchProperties withTags(List<Tag> tags)
      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.