Class IdpsQueryObject
- java.lang.Object
-
- com.azure.resourcemanager.network.models.IdpsQueryObject
-
public final class IdpsQueryObject extends Object
Will describe the query to run against the IDPS signatures DB.
-
-
Constructor Summary
Constructors Constructor Description IdpsQueryObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FilterItems>filters()Get the filters property: Contain all filters names and values.OrderByorderBy()Get the orderBy property: Column to sort response by.IntegerresultsPerPage()Get the resultsPerPage property: The number of the results to return in each page.Stringsearch()Get the search property: Search term in all columns.Integerskip()Get the skip property: The number of records matching the filter to skip.voidvalidate()Validates the instance.IdpsQueryObjectwithFilters(List<FilterItems> filters)Set the filters property: Contain all filters names and values.IdpsQueryObjectwithOrderBy(OrderBy orderBy)Set the orderBy property: Column to sort response by.IdpsQueryObjectwithResultsPerPage(Integer resultsPerPage)Set the resultsPerPage property: The number of the results to return in each page.IdpsQueryObjectwithSearch(String search)Set the search property: Search term in all columns.IdpsQueryObjectwithSkip(Integer skip)Set the skip property: The number of records matching the filter to skip.
-
-
-
Method Detail
-
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.
-
-