Class SearchResults

java.lang.Object
com.azure.resourcemanager.loganalytics.models.SearchResults

public final class SearchResults extends Object
Parameters of the search job that initiated this table.
  • Constructor Details

    • SearchResults

      public SearchResults()
  • Method Details

    • query

      public String query()
      Get the query property: Search job query.
      Returns:
      the query value.
    • withQuery

      public SearchResults withQuery(String query)
      Set the query property: Search job query.
      Parameters:
      query - the query value to set.
      Returns:
      the SearchResults object itself.
    • description

      public String description()
      Get the description property: Search job Description.
      Returns:
      the description value.
    • withDescription

      public SearchResults withDescription(String description)
      Set the description property: Search job Description.
      Parameters:
      description - the description value to set.
      Returns:
      the SearchResults object itself.
    • limit

      public Integer limit()
      Get the limit property: Limit the search job to return up to specified number of rows.
      Returns:
      the limit value.
    • withLimit

      public SearchResults withLimit(Integer limit)
      Set the limit property: Limit the search job to return up to specified number of rows.
      Parameters:
      limit - the limit value to set.
      Returns:
      the SearchResults object itself.
    • startSearchTime

      public OffsetDateTime startSearchTime()
      Get the startSearchTime property: The timestamp to start the search from (UTC).
      Returns:
      the startSearchTime value.
    • withStartSearchTime

      public SearchResults withStartSearchTime(OffsetDateTime startSearchTime)
      Set the startSearchTime property: The timestamp to start the search from (UTC).
      Parameters:
      startSearchTime - the startSearchTime value to set.
      Returns:
      the SearchResults object itself.
    • endSearchTime

      public OffsetDateTime endSearchTime()
      Get the endSearchTime property: The timestamp to end the search by (UTC).
      Returns:
      the endSearchTime value.
    • withEndSearchTime

      public SearchResults withEndSearchTime(OffsetDateTime endSearchTime)
      Set the endSearchTime property: The timestamp to end the search by (UTC).
      Parameters:
      endSearchTime - the endSearchTime value to set.
      Returns:
      the SearchResults object itself.
    • sourceTable

      public String sourceTable()
      Get the sourceTable property: The table used in the search job.
      Returns:
      the sourceTable value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.