Class IdpsQueryObject

java.lang.Object
com.azure.resourcemanager.network.models.IdpsQueryObject
All Implemented Interfaces:
com.azure.json.JsonSerializable<IdpsQueryObject>

public final class IdpsQueryObject extends Object implements com.azure.json.JsonSerializable<IdpsQueryObject>
Will describe the query to run against the IDPS signatures DB.
  • Constructor Details

    • IdpsQueryObject

      public IdpsQueryObject()
      Creates an instance of IdpsQueryObject class.
  • Method Details

    • filters

      public List<FilterItems> filters()
      Get the filters property: Contain all filters names and values.
      Returns:
      the filters value.
    • withFilters

      public IdpsQueryObject withFilters(List<FilterItems> filters)
      Set the filters property: Contain all filters names and values.
      Parameters:
      filters - the filters value to set.
      Returns:
      the IdpsQueryObject object itself.
    • search

      public String search()
      Get the search property: Search term in all columns.
      Returns:
      the search value.
    • withSearch

      public IdpsQueryObject withSearch(String search)
      Set the search property: Search term in all columns.
      Parameters:
      search - the search value to set.
      Returns:
      the IdpsQueryObject object itself.
    • orderBy

      public OrderBy orderBy()
      Get the orderBy property: Column to sort response by.
      Returns:
      the orderBy value.
    • withOrderBy

      public IdpsQueryObject withOrderBy(OrderBy orderBy)
      Set the orderBy property: Column to sort response by.
      Parameters:
      orderBy - the orderBy value to set.
      Returns:
      the IdpsQueryObject object itself.
    • resultsPerPage

      public Integer resultsPerPage()
      Get the resultsPerPage property: The number of the results to return in each page.
      Returns:
      the resultsPerPage value.
    • withResultsPerPage

      public IdpsQueryObject withResultsPerPage(Integer resultsPerPage)
      Set the resultsPerPage property: The number of the results to return in each page.
      Parameters:
      resultsPerPage - the resultsPerPage value to set.
      Returns:
      the IdpsQueryObject object itself.
    • skip

      public Integer skip()
      Get the skip property: The number of records matching the filter to skip.
      Returns:
      the skip value.
    • withSkip

      public IdpsQueryObject withSkip(Integer skip)
      Set the skip property: The number of records matching the filter to skip.
      Parameters:
      skip - the skip value to set.
      Returns:
      the IdpsQueryObject object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<IdpsQueryObject>
      Throws:
      IOException
    • fromJson

      public static IdpsQueryObject fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IdpsQueryObject from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IdpsQueryObject if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the IdpsQueryObject.